Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001355/0.001355, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00145/0.00145, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1834/0.502, allocations: 141.4 MB / 0.6999 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003455/0.5055, allocations: 1.578 MB / 0.7014 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004056/0.5059, allocations: 23.81 kB / 0.7014 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.5066, allocations: 202.6 kB / 0.7016 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.5089, allocations: 0.7916 MB / 0.7024 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.5109, allocations: 0.689 MB / 0.7031 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.5125, allocations: 1.162 MB / 0.7042 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/0.513, allocations: 286.1 kB / 0.7045 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.514, allocations: 494.2 kB / 0.7049 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.5146, allocations: 398.4 kB / 0.7053 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.5146, allocations: 48 kB / 0.7054 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.5158, allocations: 0.5032 MB / 0.7059 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.516, allocations: 171.4 kB / 0.706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.5163, allocations: 219.1 kB / 0.7062 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.5177, allocations: 0.9575 MB / 0.7072 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5177, allocations: 3.938 kB / 0.7072 GB, free: 14.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5177, allocations: 7.938 kB / 0.7072 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.5177, allocations: 0 / 0.7072 GB, free: 14.74 MB / 0.545 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.001889/0.5196, allocations: 0.8456 MB / 0.708 GB, free: 13.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5196, allocations: 8.031 kB / 0.708 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.5201, allocations: 75.61 kB / 0.7081 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007161/0.5208, allocations: 352.7 kB / 0.7084 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5209, allocations: 88.34 kB / 0.7085 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.521, allocations: 43.94 kB / 0.7086 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.5221, allocations: 0.7386 MB / 0.7093 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5221, allocations: 0 / 0.7093 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.5222, allocations: 19.98 kB / 0.7093 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.5222, allocations: 24.59 kB / 0.7093 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.5232, allocations: 398.2 kB / 0.7097 GB, free: 11.99 MB / 0.545 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.003257/0.5264, allocations: 1.938 MB / 0.7116 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008477/0.5273, allocations: 329.1 kB / 0.7119 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.5277, allocations: 153.3 kB / 0.712 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.5277, allocations: 8.219 kB / 0.7121 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/0.5284, allocations: 418.1 kB / 0.7125 GB, free: 9.027 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.5284, allocations: 0 / 0.7125 GB, free: 9.027 MB / 0.545 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.0125/0.5409, allocations: 3.02 MB / 0.7154 GB, free: 5.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.541, allocations: 136.5 kB / 0.7155 GB, free: 5.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.5415, allocations: 381.5 kB / 0.7159 GB, free: 5.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.5415, allocations: 29.7 kB / 0.7159 GB, free: 5.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5417, allocations: 264.4 kB / 0.7162 GB, free: 5.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.5419, allocations: 166.6 kB / 0.7163 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.5421, allocations: 122.3 kB / 0.7165 GB, free: 4.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.5423, allocations: 358.8 kB / 0.7168 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.5429, allocations: 246.8 kB / 0.717 GB, free: 4.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008225/0.5437, allocations: 0.4952 MB / 0.7175 GB, free: 3.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.5451, allocations: 0.6394 MB / 0.7181 GB, free: 2.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5451, allocations: 0 / 0.7181 GB, free: 2.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001995/0.5471, allocations: 0.8161 MB / 0.7189 GB, free: 2.047 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.5472, allocations: 37.7 kB / 0.719 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5472, allocations: 4 kB / 0.719 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.5477, allocations: 116.8 kB / 0.7191 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.5482, allocations: 139.7 kB / 0.7192 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006876/0.5489, allocations: 0.6812 MB / 0.7199 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.5494, allocations: 47.95 kB / 0.7199 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/0.5495, allocations: 47.94 kB / 0.72 GB, free: 0.9453 MB / 0.545 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.0003122/0.5498, allocations: 208.4 kB / 0.7202 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.5499, allocations: 43.72 kB / 0.7202 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.552, allocations: 0.7289 MB / 0.7209 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.552, allocations: 8.031 kB / 0.7209 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.552, allocations: 0 / 0.7209 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.552, allocations: 0 / 0.7209 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/0.5547, allocations: 1.14 MB / 0.722 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5547, allocations: 4 kB / 0.7221 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.5552, allocations: 108 kB / 0.7222 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/0.5558, allocations: 96.77 kB / 0.7222 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.5558, allocations: 19.98 kB / 0.7223 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.5579, allocations: 1.683 MB / 0.7239 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5579, allocations: 0 / 0.7239 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.5603, allocations: 0.9713 MB / 0.7249 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.5606, allocations: 83.66 kB / 0.7249 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.5606, allocations: 23.98 kB / 0.725 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.5611, allocations: 39.95 kB / 0.725 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5613, allocations: 55.91 kB / 0.7251 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.5613, allocations: 35.98 kB / 0.7251 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003115/0.5616, allocations: 255.2 kB / 0.7253 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5616, allocations: 0 / 0.7253 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008375/0.5625, allocations: 231.7 kB / 0.7256 GB, free: 11.02 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.0007163/0.5632, allocations: 294.7 kB / 0.7258 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.5648, allocations: 0.6203 MB / 0.7264 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5648, allocations: 0 / 0.7264 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.5657, allocations: 390.3 kB / 0.7268 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5667, allocations: 205.6 kB / 0.727 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5689, allocations: 1.196 MB / 0.7282 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5692, allocations: 252.8 kB / 0.7284 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.5695, allocations: 79.42 kB / 0.7285 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.5695, allocations: 4 kB / 0.7285 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of Templates: time 0.253/0.8225, allocations: 11.77 MB / 0.74 GB, free: 173.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.301974497007905]