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.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.001375/0.001375, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001845/0.001845, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8655/0.8655, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1193/0.1193, allocations: 32.37 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.745e-05, allocations: 6.25 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2592/0.2592, allocations: 145.4 MB / 444.5 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00425/0.2634, allocations: 4.105 MB / 448.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.2637, allocations: 19.81 kB / 448.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.2641, allocations: 162.8 kB / 448.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001712/0.2658, allocations: 0.8509 MB / 449.6 MB, free: 7.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2669, allocations: 0.6544 MB / 450.3 MB, free: 6.609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009099/0.2678, allocations: 1.173 MB / 451.4 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.2682, allocations: 315 kB / 451.7 MB, free: 5.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.2688, allocations: 0.6039 MB / 452.3 MB, free: 4.516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2691, allocations: 331 kB / 452.7 MB, free: 4.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.548e-05/0.2692, allocations: 44 kB / 452.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.2698, allocations: 0.5108 MB / 453.2 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2699, allocations: 167.5 kB / 453.4 MB, free: 3.473 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.2701, allocations: 195.6 kB / 453.6 MB, free: 3.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000813/0.2709, allocations: 0.849 MB / 454.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2709, allocations: 0 / 454.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2709, allocations: 0 / 454.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2709, allocations: 0 / 454.4 MB, free: 2.43 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.0008778/0.2718, allocations: 0.7933 MB / 455.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.2718, allocations: 8.031 kB / 455.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.2721, allocations: 104.7 kB / 455.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.2724, allocations: 332.1 kB / 455.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.2725, allocations: 88.95 kB / 455.7 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.2726, allocations: 48.11 kB / 455.8 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.273, allocations: 0.6304 MB / 456.4 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.273, allocations: 4 kB / 456.4 MB, free: 260 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.2731, allocations: 16 kB / 456.4 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.2731, allocations: 12.66 kB / 456.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.2733, allocations: 151.1 kB / 456.6 MB, free: 76 kB / 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.1733/0.4466, allocations: 1.567 MB / 458.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.4469, allocations: 157.7 kB / 458.3 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.447, allocations: 60.42 kB / 458.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.447, allocations: 8.891 kB / 458.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.4472, allocations: 302.1 kB / 458.7 MB, free: 9.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.4472, allocations: 0.7812 kB / 458.7 MB, free: 9.598 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.004498/0.4517, allocations: 1.789 MB / 460.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.4518, allocations: 110.5 kB / 460.6 MB, free: 9.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.4521, allocations: 345.9 kB / 460.9 MB, free: 8.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.4521, allocations: 37.77 kB / 461 MB, free: 8.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.4522, allocations: 226.2 kB / 461.2 MB, free: 8.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.4523, allocations: 168.9 kB / 461.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4524, allocations: 112.3 kB / 461.5 MB, free: 8.664 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.4525, allocations: 358.7 kB / 461.8 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4526, allocations: 87.11 kB / 461.9 MB, free: 8.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.4528, allocations: 320.8 kB / 462.2 MB, free: 8.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.4531, allocations: 364.7 kB / 462.6 MB, free: 7.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4531, allocations: 1.938 kB / 462.6 MB, free: 7.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005941/0.4537, allocations: 439.9 kB / 463 MB, free: 7.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.4538, allocations: 33.83 kB / 463 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4538, allocations: 6.406 kB / 463 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002472/0.454, allocations: 88.86 kB / 463.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.4543, allocations: 127.8 kB / 463.2 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002273/0.4545, allocations: 0.5686 MB / 463.8 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.4547, allocations: 34.95 kB / 463.8 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.4548, allocations: 34.83 kB / 463.9 MB, free: 7.117 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.0001339/0.4549, allocations: 155 kB / 464 MB, free: 7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.455, allocations: 52.31 kB / 464.1 MB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.4556, allocations: 367 kB / 464.4 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4556, allocations: 5.5 kB / 464.4 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.4556, allocations: 0 / 464.4 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4556, allocations: 3.891 kB / 464.4 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/0.4564, allocations: 0.6277 MB / 465.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4564, allocations: 2.375 kB / 465.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.4566, allocations: 85.42 kB / 465.2 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002721/0.4569, allocations: 94.03 kB / 465.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4569, allocations: 15.94 kB / 465.3 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006611/0.4576, allocations: 1.361 MB / 466.6 MB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4576, allocations: 5.422 kB / 466.6 MB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.4581, allocations: 474.2 kB / 467.1 MB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4582, allocations: 61.08 kB / 467.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.4582, allocations: 11.8 kB / 467.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4584, allocations: 33.25 kB / 467.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.4585, allocations: 51.33 kB / 467.2 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.4585, allocations: 22.95 kB / 467.3 MB, free: 5.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4586, allocations: 130.3 kB / 467.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4586, allocations: 0 / 467.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005754/0.4592, allocations: 238.2 kB / 467.6 MB, free: 5.266 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.0005499/0.4598, allocations: 311 kB / 467.9 MB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.4602, allocations: 352.3 kB / 468.3 MB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/0.4602, allocations: 5.312 kB / 468.3 MB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.4604, allocations: 258.6 kB / 468.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.4609, allocations: 229.2 kB / 468.8 MB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4622, allocations: 0.9602 MB / 469.7 MB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.141e-05/0.4623, allocations: 132.7 kB / 469.9 MB, free: 4.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002736/0.4625, allocations: 106.5 kB / 470 MB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.4629, allocations: 229.7 kB / 470.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4629, allocations: 0 / 470.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of Templates: time 0.0151/0.478, allocations: 13.94 MB / 484.1 MB, free: 3.047 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] 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","",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.820937312208116]