Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001251/0.001251, allocations: 113.4 kB / 16.41 MB, free: 6.473 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.001382/0.001382, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2038/0.2038, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1095, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4247/0.5343, allocations: 163.4 MB / 0.6474 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006418/0.5407, allocations: 4.107 MB / 0.6514 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.5413, allocations: 15.94 kB / 0.6514 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.542, allocations: 206.6 kB / 0.6516 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.5446, allocations: 0.848 MB / 0.6525 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.5464, allocations: 0.6693 MB / 0.6531 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.5478, allocations: 1.15 MB / 0.6542 GB, free: 340 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.5483, allocations: 329 kB / 0.6545 GB, free: 8 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.5491, allocations: 478.2 kB / 0.655 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.5496, allocations: 374.5 kB / 0.6554 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.5497, allocations: 51.94 kB / 0.6554 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.5509, allocations: 0.5929 MB / 0.656 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.5511, allocations: 155.5 kB / 0.6561 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.5514, allocations: 270.7 kB / 0.6564 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.5529, allocations: 0.9816 MB / 0.6574 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5529, allocations: 0 / 0.6574 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.553, allocations: 0 / 0.6574 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.553, allocations: 4 kB / 0.6574 GB, free: 13.12 MB / 0.4981 GB 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.001945/0.5549, allocations: 0.894 MB / 0.6582 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.555, allocations: 15.89 kB / 0.6582 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.5554, allocations: 75.31 kB / 0.6583 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006845/0.5561, allocations: 414.3 kB / 0.6587 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5562, allocations: 62.69 kB / 0.6588 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.5563, allocations: 36 kB / 0.6588 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.5573, allocations: 0.5166 MB / 0.6593 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5573, allocations: 7.906 kB / 0.6593 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.5574, allocations: 16 kB / 0.6593 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.5574, allocations: 16.64 kB / 0.6594 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.5582, allocations: 410.1 kB / 0.6597 GB, free: 10.55 MB / 0.4981 GB 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.00315/0.5614, allocations: 2.483 MB / 0.6622 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.5622, allocations: 347.3 kB / 0.6625 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.5625, allocations: 161.3 kB / 0.6627 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.5625, allocations: 4.281 kB / 0.6627 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/0.5631, allocations: 280 kB / 0.6629 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.5631, allocations: 0 / 0.6629 GB, free: 7.078 MB / 0.4981 GB 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.01105/0.5741, allocations: 3.237 MB / 0.6661 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.5742, allocations: 166.2 kB / 0.6662 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.5747, allocations: 385.4 kB / 0.6666 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.5748, allocations: 37.7 kB / 0.6666 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.575, allocations: 267.9 kB / 0.6669 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5751, allocations: 153.8 kB / 0.667 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5753, allocations: 134.2 kB / 0.6672 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5755, allocations: 350.8 kB / 0.6675 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.5761, allocations: 217.1 kB / 0.6677 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.5767, allocations: 410.3 kB / 0.6681 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5779, allocations: 0.6394 MB / 0.6687 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5779, allocations: 4 kB / 0.6687 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001805/0.5797, allocations: 0.783 MB / 0.6695 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.5798, allocations: 41.81 kB / 0.6695 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5798, allocations: 4 kB / 0.6695 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.5803, allocations: 108.8 kB / 0.6696 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.5808, allocations: 135.8 kB / 0.6698 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006234/0.5814, allocations: 0.6811 MB / 0.6704 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.5819, allocations: 47.95 kB / 0.6705 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.582, allocations: 48.86 kB / 0.6705 GB, free: 14.88 MB / 0.5137 GB 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.0002544/0.5823, allocations: 193.6 kB / 0.6707 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.5824, allocations: 51.38 kB / 0.6708 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.5841, allocations: 0.7352 MB / 0.6715 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5842, allocations: 4 kB / 0.6715 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5842, allocations: 4 kB / 0.6715 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5842, allocations: 3.984 kB / 0.6715 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.5866, allocations: 1.277 MB / 0.6727 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5867, allocations: 0 / 0.6727 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.5871, allocations: 111.9 kB / 0.6729 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005416/0.5877, allocations: 105 kB / 0.673 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.5877, allocations: 23.98 kB / 0.673 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.5895, allocations: 1.813 MB / 0.6747 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5896, allocations: 0 / 0.6747 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.5917, allocations: 0.98 MB / 0.6757 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.5919, allocations: 168.4 kB / 0.6759 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.592, allocations: 19.94 kB / 0.6759 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.5924, allocations: 43.94 kB / 0.6759 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.5926, allocations: 59.92 kB / 0.676 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.5927, allocations: 35.94 kB / 0.676 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000304/0.593, allocations: 275.1 kB / 0.6763 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 4 kB / 0.6763 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007925/0.5938, allocations: 232 kB / 0.6765 GB, free: 8.473 MB / 0.5137 GB 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.0007574/0.5946, allocations: 324.4 kB / 0.6768 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.596, allocations: 0.6032 MB / 0.6774 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.596, allocations: 4 kB / 0.6774 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008162/0.5969, allocations: 422.5 kB / 0.6778 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.5979, allocations: 225.1 kB / 0.678 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.5999, allocations: 1.135 MB / 0.6791 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.6003, allocations: 0.8553 MB / 0.68 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005031/0.6008, allocations: 148.6 kB / 0.6801 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.601, allocations: 75.41 kB / 0.6802 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.601, allocations: 3.938 kB / 0.6802 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of Templates: time 0.02178/0.6228, allocations: 13.65 MB / 0.6935 GB, free: 6.977 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches