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.001646/0.001646, allocations: 107 kB / 21.18 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.001968/0.001968, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2227/0.2227, allocations: 46.97 MB / 361.6 MB, free: 4.105 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.002026/0.002026, allocations: 71.89 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 66.04 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1877/0.5107, allocations: 141.4 MB / 0.6999 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.5141, allocations: 1.567 MB / 0.7014 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004582/0.5145, allocations: 27.81 kB / 0.7014 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007127/0.5152, allocations: 198.6 kB / 0.7016 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.5176, allocations: 0.8075 MB / 0.7024 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.5193, allocations: 0.6815 MB / 0.7031 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.5207, allocations: 1.162 MB / 0.7042 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.5212, allocations: 282.1 kB / 0.7045 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008917/0.5221, allocations: 494.3 kB / 0.7049 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.5227, allocations: 402.4 kB / 0.7053 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.5228, allocations: 44 kB / 0.7054 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.5238, allocations: 0.5071 MB / 0.7059 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.524, allocations: 163.5 kB / 0.706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.5243, allocations: 223.1 kB / 0.7062 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5257, allocations: 0.9605 MB / 0.7072 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5257, allocations: 0 / 0.7072 GB, free: 14.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5257, allocations: 0 / 0.7072 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5257, allocations: 4 kB / 0.7072 GB, free: 14.72 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.001907/0.5276, allocations: 0.8456 MB / 0.708 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5276, allocations: 8.031 kB / 0.708 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.528, allocations: 79.61 kB / 0.7081 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.5287, allocations: 344.8 kB / 0.7084 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5289, allocations: 96.33 kB / 0.7085 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.5289, allocations: 39.95 kB / 0.7085 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5301, allocations: 0.7425 MB / 0.7093 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5301, allocations: 3.938 kB / 0.7093 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.5302, allocations: 16 kB / 0.7093 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.5302, allocations: 24.58 kB / 0.7093 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.5313, allocations: 402.2 kB / 0.7097 GB, free: 11.96 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.003312/0.5346, allocations: 1.938 MB / 0.7116 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008613/0.5354, allocations: 329 kB / 0.7119 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.5358, allocations: 153.3 kB / 0.712 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.5359, allocations: 12.22 kB / 0.7121 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006913/0.5366, allocations: 418.1 kB / 0.7125 GB, free: 8.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.5366, allocations: 0 / 0.7125 GB, free: 8.996 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.01273/0.5493, allocations: 3.008 MB / 0.7154 GB, free: 5.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.5494, allocations: 140.5 kB / 0.7155 GB, free: 5.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.5499, allocations: 373.5 kB / 0.7159 GB, free: 5.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.55, allocations: 37.7 kB / 0.7159 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.5502, allocations: 260.4 kB / 0.7162 GB, free: 5.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5503, allocations: 170.5 kB / 0.7163 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5506, allocations: 126.3 kB / 0.7165 GB, free: 4.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5507, allocations: 350.8 kB / 0.7168 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006438/0.5514, allocations: 242.8 kB / 0.717 GB, free: 4.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.5522, allocations: 0.503 MB / 0.7175 GB, free: 3.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.5536, allocations: 0.6355 MB / 0.7181 GB, free: 2.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5536, allocations: 0 / 0.7181 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002051/0.5557, allocations: 0.8195 MB / 0.7189 GB, free: 2.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.5557, allocations: 33.7 kB / 0.719 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5557, allocations: 4.656 kB / 0.719 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/0.5562, allocations: 124.8 kB / 0.7191 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.5568, allocations: 131.8 kB / 0.7192 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006659/0.5575, allocations: 0.681 MB / 0.7199 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.558, allocations: 47.94 kB / 0.7199 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.5581, allocations: 48.06 kB / 0.72 GB, free: 0.9258 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.0003007/0.5584, allocations: 197.6 kB / 0.7202 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.5585, allocations: 51.66 kB / 0.7202 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.5606, allocations: 0.7327 MB / 0.7209 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5606, allocations: 7.984 kB / 0.7209 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5606, allocations: 4 kB / 0.7209 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5606, allocations: 0 / 0.7209 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.5633, allocations: 1.136 MB / 0.722 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.5633, allocations: 4 kB / 0.722 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.5638, allocations: 107.8 kB / 0.7222 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006318/0.5645, allocations: 100.9 kB / 0.7222 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.5645, allocations: 19.98 kB / 0.7223 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.5665, allocations: 1.687 MB / 0.7239 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5665, allocations: 0 / 0.7239 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.5689, allocations: 0.9713 MB / 0.7249 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.5692, allocations: 83.59 kB / 0.7249 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.5693, allocations: 12 kB / 0.725 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.5698, allocations: 47.94 kB / 0.725 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.5699, allocations: 63.91 kB / 0.7251 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.57, allocations: 35.98 kB / 0.7251 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003049/0.5703, allocations: 251.2 kB / 0.7253 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5703, allocations: 0 / 0.7253 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008645/0.5712, allocations: 231.7 kB / 0.7256 GB, free: 10.99 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.0007744/0.5719, allocations: 290.6 kB / 0.7258 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.5735, allocations: 0.6164 MB / 0.7264 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5735, allocations: 0 / 0.7264 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.5744, allocations: 398.3 kB / 0.7268 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5755, allocations: 217.2 kB / 0.727 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5776, allocations: 1.149 MB / 0.7281 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.5779, allocations: 260.8 kB / 0.7284 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005229/0.5784, allocations: 152 kB / 0.7285 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5787, allocations: 71.42 kB / 0.7286 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5787, allocations: 0 / 0.7286 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.2347/0.8134, allocations: 13.81 MB / 0.7421 GB, free: 172.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 -s gbode -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: 6.011614267990808]