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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1352/0.1352, allocations: 32.82 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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=5014,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.157e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3294/0.3295, allocations: 145 MB / 0.51 GB, free: 16.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3327, allocations: 1.637 MB / 0.5116 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000555/0.3332, allocations: 20.28 kB / 0.5117 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.3339, allocations: 165.5 kB / 0.5118 GB, free: 16.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.336, allocations: 0.7938 MB / 0.5126 GB, free: 16.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.3373, allocations: 0.6381 MB / 0.5132 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3385, allocations: 1.187 MB / 0.5144 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.339, allocations: 292.4 kB / 0.5146 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009037/0.3399, allocations: 0.6217 MB / 0.5153 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.3404, allocations: 341.6 kB / 0.5156 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.3404, allocations: 46.16 kB / 0.5156 GB, free: 16.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.3413, allocations: 491.2 kB / 0.5161 GB, free: 16.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.3415, allocations: 182.2 kB / 0.5163 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3416, allocations: 189.8 kB / 0.5164 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.3427, allocations: 0.8285 MB / 0.5173 GB, free: 16.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3427, allocations: 0 / 0.5173 GB, free: 16.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3427, allocations: 3.469 kB / 0.5173 GB, free: 16.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3427, allocations: 0 / 0.5173 GB, free: 16.71 MB / 410.7 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.001191/0.3439, allocations: 0.9284 MB / 0.5182 GB, free: 16.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.344, allocations: 9.5 kB / 0.5182 GB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3443, allocations: 122.5 kB / 0.5183 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.3447, allocations: 357 kB / 0.5186 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.3448, allocations: 96.36 kB / 0.5187 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.928e-05/0.3448, allocations: 43.67 kB / 0.5188 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.3453, allocations: 0.6365 MB / 0.5194 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.3453, allocations: 3.094 kB / 0.5194 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3453, allocations: 15.81 kB / 0.5194 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.3454, allocations: 15.16 kB / 0.5194 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.3456, allocations: 164.9 kB / 0.5196 GB, free: 15.31 MB / 410.7 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.001532/0.3471, allocations: 2.249 MB / 0.5218 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3474, allocations: 180.8 kB / 0.5219 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.3475, allocations: 74.33 kB / 0.522 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3475, allocations: 8.969 kB / 0.522 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.3477, allocations: 321.8 kB / 0.5223 GB, free: 13.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3477, allocations: 0 / 0.5223 GB, free: 13.38 MB / 410.7 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.003698/0.3514, allocations: 1.668 MB / 0.524 GB, free: 12.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3514, allocations: 109.8 kB / 0.5241 GB, free: 12.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3517, allocations: 403.9 kB / 0.5244 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.3517, allocations: 34.89 kB / 0.5245 GB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3518, allocations: 309.1 kB / 0.5248 GB, free: 12.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.3519, allocations: 168 kB / 0.5249 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.352, allocations: 125.3 kB / 0.5251 GB, free: 12.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.3521, allocations: 0.5409 MB / 0.5256 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3522, allocations: 95.86 kB / 0.5257 GB, free: 11.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.3524, allocations: 394.5 kB / 0.5261 GB, free: 11.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.3527, allocations: 433.4 kB / 0.5265 GB, free: 10.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3527, allocations: 4 kB / 0.5265 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006195/0.3533, allocations: 0.5262 MB / 0.527 GB, free: 10.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.3534, allocations: 35.28 kB / 0.527 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3534, allocations: 6.938 kB / 0.527 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.3536, allocations: 77.22 kB / 0.5271 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3538, allocations: 129.9 kB / 0.5272 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002827/0.3541, allocations: 0.8583 MB / 0.5281 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3543, allocations: 39.47 kB / 0.5281 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3544, allocations: 31.8 kB / 0.5281 GB, free: 9.973 MB / 410.7 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.inFlow[1],sweptVolume.regularFlow[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.0001307/0.3545, allocations: 198.2 kB / 0.5283 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3546, allocations: 67.69 kB / 0.5284 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.3551, allocations: 450.3 kB / 0.5288 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3552, allocations: 3.5 kB / 0.5288 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3552, allocations: 0 / 0.5288 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3552, allocations: 5.031 kB / 0.5288 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009223/0.3561, allocations: 0.8479 MB / 0.5296 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3561, allocations: 160 / 0.5296 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.3563, allocations: 90.84 kB / 0.5297 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.3566, allocations: 99.97 kB / 0.5298 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.3566, allocations: 14.56 kB / 0.5298 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.3574, allocations: 1.913 MB / 0.5317 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3574, allocations: 2.469 kB / 0.5317 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.358, allocations: 0.6069 MB / 0.5323 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.3581, allocations: 83.45 kB / 0.5324 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.3582, allocations: 12.88 kB / 0.5324 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3584, allocations: 24.67 kB / 0.5324 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3585, allocations: 62.44 kB / 0.5325 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.3585, allocations: 24.89 kB / 0.5325 GB, free: 7.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3586, allocations: 251.5 kB / 0.5327 GB, free: 7.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 0.5327 GB, free: 7.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.3592, allocations: 234 kB / 0.533 GB, free: 7.109 MB / 410.7 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 (40): * Single equations (assignments): 37 * 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.0004581/0.3597, allocations: 297 kB / 0.5333 GB, free: 6.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.3601, allocations: 384.2 kB / 0.5336 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3601, allocations: 0 / 0.5336 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.3603, allocations: 333 kB / 0.5339 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.3609, allocations: 216 kB / 0.5341 GB, free: 6.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3623, allocations: 0.9915 MB / 0.5351 GB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.3624, allocations: 137.7 kB / 0.5352 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00029/0.3627, allocations: 103.4 kB / 0.5353 GB, free: 5.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.3631, allocations: 275.3 kB / 0.5356 GB, free: 5.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3631, allocations: 0 / 0.5356 GB, free: 5.91 MB / 410.7 MB Notification: Performance of Templates: time 0.01605/0.3791, allocations: 14.02 MB / 0.5493 GB, free: 120 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.953930201008916]