Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2206/0.2206, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 61.09 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1482, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4711/0.6193, allocations: 160.5 MB / 0.615 GB, free: 160 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.6231, allocations: 1.665 MB / 0.6166 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.6238, allocations: 15.88 kB / 0.6166 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.6247, allocations: 210.6 kB / 0.6168 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.6273, allocations: 0.7678 MB / 0.6176 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.6292, allocations: 0.6763 MB / 0.6182 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.631, allocations: 1.154 MB / 0.6194 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.6317, allocations: 325 kB / 0.6197 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.6329, allocations: 466.3 kB / 0.6201 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.6336, allocations: 386.4 kB / 0.6205 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.809e-05/0.6337, allocations: 48 kB / 0.6205 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.6349, allocations: 0.5149 MB / 0.621 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.6351, allocations: 151.6 kB / 0.6212 GB, free: 9.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.6354, allocations: 274.7 kB / 0.6214 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.6367, allocations: 0.9544 MB / 0.6224 GB, free: 8.578 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6367, allocations: 0 / 0.6224 GB, free: 8.578 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6368, allocations: 0 / 0.6224 GB, free: 8.578 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.6368, allocations: 0 / 0.6224 GB, free: 8.578 MB / 462.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.001788/0.6386, allocations: 0.8951 MB / 0.6232 GB, free: 7.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6386, allocations: 12.02 kB / 0.6233 GB, free: 7.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.639, allocations: 75.33 kB / 0.6233 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.6396, allocations: 398.3 kB / 0.6237 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/0.6396, allocations: 58.7 kB / 0.6238 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.6397, allocations: 39.94 kB / 0.6238 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.6406, allocations: 0.5244 MB / 0.6243 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6407, allocations: 3.938 kB / 0.6243 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.6407, allocations: 12 kB / 0.6243 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.972e-05/0.6408, allocations: 24.59 kB / 0.6243 GB, free: 6.406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.6416, allocations: 398.2 kB / 0.6247 GB, free: 6.016 MB / 462.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.003014/0.6447, allocations: 2.512 MB / 0.6272 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.6455, allocations: 335.5 kB / 0.6275 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.6459, allocations: 157.3 kB / 0.6277 GB, free: 2.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.646, allocations: 8.219 kB / 0.6277 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.6466, allocations: 276.6 kB / 0.6279 GB, free: 2.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.6466, allocations: 0 / 0.6279 GB, free: 2.531 MB / 462.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.01249/0.6591, allocations: 3.241 MB / 0.6311 GB, free: 15.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.6592, allocations: 170.1 kB / 0.6313 GB, free: 14.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.6597, allocations: 385.5 kB / 0.6316 GB, free: 14.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.6597, allocations: 41.69 kB / 0.6317 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.6599, allocations: 248 kB / 0.6319 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.66, allocations: 165.7 kB / 0.6321 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.6602, allocations: 122.2 kB / 0.6322 GB, free: 13.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6604, allocations: 362.8 kB / 0.6325 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.661, allocations: 217.1 kB / 0.6327 GB, free: 13.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.6617, allocations: 405.1 kB / 0.6331 GB, free: 12.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.663, allocations: 0.6394 MB / 0.6337 GB, free: 12.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.663, allocations: 0 / 0.6337 GB, free: 12.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001862/0.6649, allocations: 0.7953 MB / 0.6345 GB, free: 11.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.6649, allocations: 33.7 kB / 0.6345 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6649, allocations: 4 kB / 0.6345 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.6654, allocations: 125.4 kB / 0.6347 GB, free: 11.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.666, allocations: 131.8 kB / 0.6348 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/0.6665, allocations: 0.6694 MB / 0.6354 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.6671, allocations: 52 kB / 0.6355 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.6671, allocations: 44 kB / 0.6355 GB, free: 10.32 MB / 478.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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.6674, allocations: 197.7 kB / 0.6357 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.6675, allocations: 47.44 kB / 0.6358 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.6695, allocations: 0.7445 MB / 0.6365 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6695, allocations: 8 kB / 0.6365 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6695, allocations: 0 / 0.6365 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.6695, allocations: 3.984 kB / 0.6365 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.6719, allocations: 1.28 MB / 0.6378 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.6719, allocations: 4 kB / 0.6378 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.6724, allocations: 103.9 kB / 0.6379 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.6729, allocations: 100.9 kB / 0.638 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.673, allocations: 23.92 kB / 0.638 GB, free: 7.719 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.6748, allocations: 1.821 MB / 0.6398 GB, free: 5.754 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.6748, allocations: 4.031 kB / 0.6398 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.6771, allocations: 0.9773 MB / 0.6407 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.6773, allocations: 164.5 kB / 0.6409 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.6774, allocations: 15.94 kB / 0.6409 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.6779, allocations: 39.95 kB / 0.6409 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6781, allocations: 59.92 kB / 0.641 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.6781, allocations: 35.98 kB / 0.641 GB, free: 4.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003073/0.6784, allocations: 275.1 kB / 0.6413 GB, free: 4.148 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6784, allocations: 0 / 0.6413 GB, free: 4.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008672/0.6793, allocations: 231.9 kB / 0.6415 GB, free: 3.922 MB / 478.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009188/0.6802, allocations: 298 kB / 0.6418 GB, free: 3.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.682, allocations: 0.6382 MB / 0.6424 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.682, allocations: 0 / 0.6424 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.6829, allocations: 422 kB / 0.6428 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.684, allocations: 220.5 kB / 0.643 GB, free: 2.348 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.6862, allocations: 1.146 MB / 0.6441 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.6866, allocations: 0.8629 MB / 0.645 GB, free: 276 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.6873, allocations: 164.5 kB / 0.6451 GB, free: 108 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.6875, allocations: 67.42 kB / 0.6452 GB, free: 40 kB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6875, allocations: 0 / 0.6452 GB, free: 40 kB / 478.1 MB Notification: Performance of Templates: time 0.02299/0.7105, allocations: 13.24 MB / 0.6581 GB, free: 2.902 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches