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.0009368/0.0009368, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009134/0.0009134, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9654/0.9654, allocations: 177.1 MB / 205 MB, free: 5.625 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.2174/0.2174, allocations: 32.81 MB / 294.3 MB, free: 1.191 MB / 266.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.543e-06/1.543e-06, allocations: 3.938 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.11e-05, allocations: 2.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.259/0.259, allocations: 147.7 MB / 0.5115 GB, free: 18.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2611, allocations: 1.645 MB / 0.5131 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.2613, allocations: 20.25 kB / 0.5131 GB, free: 17.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.2618, allocations: 157.9 kB / 0.5133 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.2631, allocations: 0.8069 MB / 0.5141 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008988/0.264, allocations: 0.6321 MB / 0.5147 GB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.2648, allocations: 1.187 MB / 0.5158 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.2651, allocations: 299.9 kB / 0.5161 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005905/0.2657, allocations: 0.6183 MB / 0.5167 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.266, allocations: 351.8 kB / 0.5171 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.2661, allocations: 43.31 kB / 0.5171 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006953/0.2668, allocations: 495 kB / 0.5176 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2669, allocations: 163.8 kB / 0.5177 GB, free: 14.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2671, allocations: 195.8 kB / 0.5179 GB, free: 14.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.2679, allocations: 0.8242 MB / 0.5187 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2679, allocations: 8.547 kB / 0.5187 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2679, allocations: 4 kB / 0.5187 GB, free: 14.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2679, allocations: 0 / 0.5187 GB, free: 14.44 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.001012/0.2689, allocations: 0.9156 MB / 0.5196 GB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2689, allocations: 15.2 kB / 0.5196 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.2692, allocations: 130 kB / 0.5198 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.2696, allocations: 361.7 kB / 0.5201 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.2697, allocations: 92.03 kB / 0.5202 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.2698, allocations: 48.39 kB / 0.5203 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.2703, allocations: 0.6613 MB / 0.5209 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2703, allocations: 0 / 0.5209 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2703, allocations: 17.81 kB / 0.5209 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.2704, allocations: 17.14 kB / 0.5209 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.2706, allocations: 189 kB / 0.5211 GB, free: 12.77 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.001373/0.272, allocations: 2.313 MB / 0.5234 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.2723, allocations: 196.3 kB / 0.5236 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.2724, allocations: 85.53 kB / 0.5236 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.2724, allocations: 14.16 kB / 0.5237 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.2726, allocations: 325.1 kB / 0.524 GB, free: 10.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.2726, allocations: 3.984 kB / 0.524 GB, free: 10.46 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.003733/0.2764, allocations: 1.866 MB / 0.5258 GB, free: 9.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2764, allocations: 109.1 kB / 0.5259 GB, free: 9.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2766, allocations: 409.9 kB / 0.5263 GB, free: 9.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2766, allocations: 39.42 kB / 0.5263 GB, free: 9.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2767, allocations: 308 kB / 0.5266 GB, free: 9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.2768, allocations: 166.3 kB / 0.5268 GB, free: 8.867 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2769, allocations: 120.4 kB / 0.5269 GB, free: 8.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.277, allocations: 0.5256 MB / 0.5274 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2771, allocations: 115.7 kB / 0.5275 GB, free: 8.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2774, allocations: 408.9 kB / 0.5279 GB, free: 7.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.2777, allocations: 469.5 kB / 0.5283 GB, free: 7.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2777, allocations: 2.375 kB / 0.5284 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006172/0.2783, allocations: 0.5681 MB / 0.5289 GB, free: 7.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.2783, allocations: 33.92 kB / 0.5289 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2784, allocations: 6.625 kB / 0.5289 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/0.2786, allocations: 89.97 kB / 0.529 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.2788, allocations: 128.6 kB / 0.5292 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002591/0.2791, allocations: 0.8524 MB / 0.53 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2793, allocations: 36.36 kB / 0.53 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.2793, allocations: 42.36 kB / 0.5301 GB, free: 6.266 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.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.0001175/0.2794, allocations: 200.7 kB / 0.5303 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.2795, allocations: 58.81 kB / 0.5303 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.2801, allocations: 479.9 kB / 0.5308 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2801, allocations: 2.438 kB / 0.5308 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2801, allocations: 3.094 kB / 0.5308 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2801, allocations: 2.297 kB / 0.5308 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.2811, allocations: 0.9366 MB / 0.5317 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2811, allocations: 0 / 0.5317 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.2813, allocations: 85.78 kB / 0.5318 GB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.2816, allocations: 111.5 kB / 0.5319 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2816, allocations: 16.03 kB / 0.5319 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008228/0.2824, allocations: 1.946 MB / 0.5338 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2824, allocations: 3 kB / 0.5338 GB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.2831, allocations: 0.6482 MB / 0.5344 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2832, allocations: 78.23 kB / 0.5345 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.2832, allocations: 19.97 kB / 0.5345 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.2834, allocations: 29.88 kB / 0.5346 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.2835, allocations: 54.39 kB / 0.5346 GB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.2835, allocations: 25.91 kB / 0.5346 GB, free: 2.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.2837, allocations: 264.6 kB / 0.5349 GB, free: 2.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2837, allocations: 0 / 0.5349 GB, free: 2.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005695/0.2842, allocations: 230.4 kB / 0.5351 GB, free: 2.73 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.0004687/0.2847, allocations: 306.1 kB / 0.5354 GB, free: 2.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.2852, allocations: 407.8 kB / 0.5358 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2852, allocations: 4 kB / 0.5358 GB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.2854, allocations: 351.3 kB / 0.5361 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.286, allocations: 215.3 kB / 0.5363 GB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2874, allocations: 0.9912 MB / 0.5373 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.2874, allocations: 135.3 kB / 0.5374 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.2877, allocations: 133.4 kB / 0.5375 GB, free: 1.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2878, allocations: 61.92 kB / 0.5376 GB, free: 1.344 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2878, allocations: 0 / 0.5376 GB, free: 1.344 MB / 410.7 MB Notification: Performance of Templates: time 0.01428/0.3021, allocations: 13.73 MB / 0.551 GB, free: 9.027 MB / 426.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.654142183251679]