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.001364/0.001364, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001453/0.001453, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.217/0.217, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 73.61 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3443, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1977/0.542, allocations: 164 MB / 0.7184 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003796/0.5458, allocations: 1.676 MB / 0.7201 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.5464, allocations: 23.81 kB / 0.7201 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.5471, allocations: 210.6 kB / 0.7203 GB, free: 1.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.5496, allocations: 0.8029 MB / 0.7211 GB, free: 360 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.5516, allocations: 0.6812 MB / 0.7217 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.5533, allocations: 1.166 MB / 0.7229 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.5539, allocations: 288.4 kB / 0.7232 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.555, allocations: 490.3 kB / 0.7236 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.5557, allocations: 406.3 kB / 0.724 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.5558, allocations: 44 kB / 0.724 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.5571, allocations: 0.587 MB / 0.7246 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.5574, allocations: 155.5 kB / 0.7248 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.5577, allocations: 274.7 kB / 0.725 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.5595, allocations: 0.9695 MB / 0.726 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5595, allocations: 8 kB / 0.726 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5595, allocations: 0 / 0.726 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.5595, allocations: 0 / 0.726 GB, free: 11.31 MB / 0.5606 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.002155/0.5617, allocations: 0.8455 MB / 0.7268 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5617, allocations: 11.98 kB / 0.7268 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.5622, allocations: 79.61 kB / 0.7269 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007686/0.563, allocations: 340.9 kB / 0.7272 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.5631, allocations: 92.33 kB / 0.7273 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.5632, allocations: 39.95 kB / 0.7273 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.5643, allocations: 0.5243 MB / 0.7279 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.5643, allocations: 0 / 0.7279 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.5644, allocations: 23.98 kB / 0.7279 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5644, allocations: 12.66 kB / 0.7279 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.5654, allocations: 402.2 kB / 0.7283 GB, free: 8.836 MB / 0.5606 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.003816/0.5692, allocations: 2.423 MB / 0.7306 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.5701, allocations: 335.4 kB / 0.731 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.5705, allocations: 149.3 kB / 0.7311 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.5706, allocations: 12.27 kB / 0.7311 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.5712, allocations: 252 kB / 0.7314 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.5712, allocations: 0 / 0.7314 GB, free: 5.48 MB / 0.5606 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.01241/0.5836, allocations: 3.027 MB / 0.7343 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.5838, allocations: 132.5 kB / 0.7344 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/0.5844, allocations: 385.6 kB / 0.7348 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.5845, allocations: 37.7 kB / 0.7348 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.5848, allocations: 260.4 kB / 0.7351 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.585, allocations: 170.6 kB / 0.7353 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.5852, allocations: 126.3 kB / 0.7354 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5854, allocations: 358.8 kB / 0.7357 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.5861, allocations: 217.1 kB / 0.7359 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.587, allocations: 404.2 kB / 0.7363 GB, free: 192 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2541/0.841, allocations: 0.6335 MB / 0.7369 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.841, allocations: 1.719 kB / 0.7369 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002214/0.8433, allocations: 0.7915 MB / 0.7377 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.8433, allocations: 34.58 kB / 0.7377 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.8433, allocations: 5.5 kB / 0.7377 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004893/0.8438, allocations: 116.9 kB / 0.7379 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.8444, allocations: 134.9 kB / 0.738 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005796/0.845, allocations: 0.6765 MB / 0.7386 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.8455, allocations: 48.98 kB / 0.7387 GB, free: 178 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8456, allocations: 48.39 kB / 0.7387 GB, free: 178 MB / 0.5606 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.0002758/0.8459, allocations: 201.5 kB / 0.7389 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.846, allocations: 51.89 kB / 0.739 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.8477, allocations: 0.7315 MB / 0.7397 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.8477, allocations: 4.719 kB / 0.7397 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8478, allocations: 4.031 kB / 0.7397 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.8478, allocations: 2.578 kB / 0.7397 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.8499, allocations: 1.249 MB / 0.7409 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.85, allocations: 0 / 0.7409 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.8504, allocations: 110.8 kB / 0.741 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.8509, allocations: 100.3 kB / 0.7411 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.8509, allocations: 17.06 kB / 0.7411 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.8523, allocations: 1.721 MB / 0.7428 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8523, allocations: 6.469 kB / 0.7428 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.8541, allocations: 0.9686 MB / 0.7438 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.8543, allocations: 87.22 kB / 0.7439 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.8544, allocations: 20.67 kB / 0.7439 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.8548, allocations: 41.66 kB / 0.7439 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.855, allocations: 71.03 kB / 0.744 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.855, allocations: 36.64 kB / 0.744 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002206/0.8552, allocations: 274.9 kB / 0.7443 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8552, allocations: 0 / 0.7443 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006787/0.8559, allocations: 237.3 kB / 0.7445 GB, free: 174.4 MB / 0.5606 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.0005397/0.8564, allocations: 290.4 kB / 0.7448 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.8577, allocations: 0.5903 MB / 0.7454 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8577, allocations: 0 / 0.7454 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.8583, allocations: 385.6 kB / 0.7457 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009217/0.8593, allocations: 224.8 kB / 0.7459 GB, free: 173 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.8609, allocations: 1.186 MB / 0.7471 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.8611, allocations: 0.8593 MB / 0.7479 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.8613, allocations: 83.41 kB / 0.748 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.8613, allocations: 0 / 0.748 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01111/0.8725, allocations: 11.7 MB / 0.7594 GB, free: 159.2 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.083739654161036]