Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009989/0.0009989, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 45.92 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 11.98 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 63.46 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4736/0.6177, allocations: 133.2 MB / 0.6001 GB, free: 320 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.6232, allocations: 2.393 MB / 0.6025 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.6238, allocations: 15.88 kB / 0.6025 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.6245, allocations: 171 kB / 0.6027 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.6268, allocations: 0.6189 MB / 0.6033 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.6285, allocations: 0.526 MB / 0.6038 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009848/0.6295, allocations: 0.6606 MB / 0.6044 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.6299, allocations: 265.3 kB / 0.6047 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.6306, allocations: 378.8 kB / 0.605 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.631, allocations: 270.9 kB / 0.6053 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.6311, allocations: 20 kB / 0.6053 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.6321, allocations: 395.5 kB / 0.6057 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.6323, allocations: 123.6 kB / 0.6058 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.6324, allocations: 117.5 kB / 0.6059 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.6333, allocations: 0.6375 MB / 0.6065 GB, free: 9.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6333, allocations: 0 / 0.6065 GB, free: 9.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.6333, allocations: 0 / 0.6065 GB, free: 9.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.6334, allocations: 0 / 0.6065 GB, free: 9.762 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001669/0.635, allocations: 0.8173 MB / 0.6073 GB, free: 8.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6351, allocations: 12.03 kB / 0.6073 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.6355, allocations: 71.33 kB / 0.6074 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.6361, allocations: 382.6 kB / 0.6078 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.6362, allocations: 66.62 kB / 0.6078 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.6363, allocations: 36 kB / 0.6079 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/0.6373, allocations: 0.5322 MB / 0.6084 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.6373, allocations: 4 kB / 0.6084 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.6374, allocations: 19.94 kB / 0.6084 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.6374, allocations: 16.66 kB / 0.6084 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.6383, allocations: 426.1 kB / 0.6088 GB, free: 7.254 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.6418, allocations: 2.477 MB / 0.6113 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.6427, allocations: 373.6 kB / 0.6116 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.6427, allocations: 8.234 kB / 0.6116 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006377/0.6434, allocations: 274.2 kB / 0.6119 GB, free: 3.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.514e-06/0.6434, allocations: 0 / 0.6119 GB, free: 3.938 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01238/0.6558, allocations: 3.601 MB / 0.6154 GB, free: 204 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6559, allocations: 158.2 kB / 0.6156 GB, free: 8 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.6564, allocations: 389.5 kB / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.6565, allocations: 37.7 kB / 0.616 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.6567, allocations: 255.9 kB / 0.6162 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.6568, allocations: 165.7 kB / 0.6164 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.6568, allocations: 8 kB / 0.6164 GB, free: 15.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.657, allocations: 358.8 kB / 0.6167 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.6576, allocations: 245.1 kB / 0.6169 GB, free: 14.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/0.6584, allocations: 429 kB / 0.6174 GB, free: 14.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.6591, allocations: 318.3 kB / 0.6177 GB, free: 13.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6591, allocations: 0 / 0.6177 GB, free: 13.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001793/0.6609, allocations: 0.8217 MB / 0.6185 GB, free: 12.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.6609, allocations: 33.7 kB / 0.6185 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.661, allocations: 4 kB / 0.6185 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.6614, allocations: 121.3 kB / 0.6186 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.662, allocations: 151.8 kB / 0.6188 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005852/0.6626, allocations: 0.6772 MB / 0.6194 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.6631, allocations: 73.75 kB / 0.6195 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.6632, allocations: 47.98 kB / 0.6195 GB, free: 11.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.6635, allocations: 200.8 kB / 0.6197 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.6636, allocations: 51.39 kB / 0.6198 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.6657, allocations: 0.7697 MB / 0.6205 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6658, allocations: 7.938 kB / 0.6205 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6658, allocations: 0 / 0.6205 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6658, allocations: 11.94 kB / 0.6205 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.6683, allocations: 1.32 MB / 0.6218 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6684, allocations: 0 / 0.6218 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.6688, allocations: 128 kB / 0.622 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005934/0.6695, allocations: 100.8 kB / 0.6221 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.6695, allocations: 31.88 kB / 0.6221 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6714, allocations: 1.715 MB / 0.6238 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6714, allocations: 7.969 kB / 0.6238 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.6739, allocations: 1.099 MB / 0.6248 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.6741, allocations: 156.5 kB / 0.625 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.6742, allocations: 16 kB / 0.625 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.6747, allocations: 67.88 kB / 0.6251 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.6749, allocations: 67.8 kB / 0.6251 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.675, allocations: 35.98 kB / 0.6252 GB, free: 5.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.6753, allocations: 267.2 kB / 0.6254 GB, free: 5.422 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6753, allocations: 0 / 0.6254 GB, free: 5.422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009708/0.6763, allocations: 232 kB / 0.6256 GB, free: 5.195 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008331/0.6772, allocations: 310.5 kB / 0.6259 GB, free: 4.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.6788, allocations: 0.6461 MB / 0.6266 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.6788, allocations: 0 / 0.6266 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.6797, allocations: 439 kB / 0.627 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.6807, allocations: 183.8 kB / 0.6272 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.683, allocations: 1.385 MB / 0.6285 GB, free: 2.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.6835, allocations: 0.8669 MB / 0.6294 GB, free: 1.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006718/0.6842, allocations: 152.5 kB / 0.6295 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.6845, allocations: 75.41 kB / 0.6296 GB, free: 1.062 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6845, allocations: 0 / 0.6296 GB, free: 1.062 MB / 462.1 MB Notification: Performance of Templates: time 0.02183/0.7063, allocations: 12.24 MB / 0.6415 GB, free: 4.902 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches