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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 191.1 kB / 22.97 MB, free: 5.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2264/0.2264, allocations: 44.91 MB / 351.6 MB, free: 12.22 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001991/0.001991, allocations: 67.89 kB / 495.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.393, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2238/0.6168, allocations: 161.1 MB / 0.7037 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004186/0.621, allocations: 1.68 MB / 0.7054 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009034/0.6219, allocations: 11.94 kB / 0.7054 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.6229, allocations: 206.6 kB / 0.7056 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.6266, allocations: 0.7849 MB / 0.7063 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.6289, allocations: 0.6841 MB / 0.707 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.6313, allocations: 1.154 MB / 0.7081 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.6322, allocations: 285.9 kB / 0.7084 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.6336, allocations: 478.3 kB / 0.7089 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008619/0.6345, allocations: 402.4 kB / 0.7092 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.6346, allocations: 48 kB / 0.7093 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.6363, allocations: 0.5807 MB / 0.7099 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.6366, allocations: 155.5 kB / 0.71 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.6373, allocations: 274.7 kB / 0.7103 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.6398, allocations: 0.9694 MB / 0.7112 GB, free: 6.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6398, allocations: 0 / 0.7112 GB, free: 6.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6398, allocations: 0 / 0.7112 GB, free: 6.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.163e-05/0.6398, allocations: 0 / 0.7112 GB, free: 6.438 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.002621/0.6424, allocations: 0.9209 MB / 0.7121 GB, free: 5.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6425, allocations: 8.031 kB / 0.7121 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.643, allocations: 71.66 kB / 0.7122 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.6439, allocations: 422.6 kB / 0.7126 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.644, allocations: 58.64 kB / 0.7126 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6441, allocations: 36 kB / 0.7127 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.6453, allocations: 0.5282 MB / 0.7132 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.6453, allocations: 0 / 0.7132 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.6454, allocations: 20 kB / 0.7132 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.6454, allocations: 12.66 kB / 0.7132 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6465, allocations: 406.2 kB / 0.7136 GB, free: 3.836 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.003814/0.6503, allocations: 2.495 MB / 0.716 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008972/0.6512, allocations: 335.4 kB / 0.7164 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.6516, allocations: 157.3 kB / 0.7165 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.6516, allocations: 8.281 kB / 0.7165 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006156/0.6522, allocations: 256.8 kB / 0.7168 GB, free: 396 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.535e-06/0.6522, allocations: 0 / 0.7168 GB, free: 396 kB / 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.01245/0.6647, allocations: 3.249 MB / 0.7199 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.6648, allocations: 162.2 kB / 0.7201 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.6653, allocations: 385.6 kB / 0.7205 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.6654, allocations: 33.7 kB / 0.7205 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.6656, allocations: 268.5 kB / 0.7208 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.6657, allocations: 170.6 kB / 0.7209 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.666, allocations: 126.2 kB / 0.721 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6662, allocations: 358.8 kB / 0.7214 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.6667, allocations: 217.1 kB / 0.7216 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.6675, allocations: 409.1 kB / 0.722 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.6689, allocations: 0.6355 MB / 0.7226 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6689, allocations: 4 kB / 0.7226 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001964/0.6709, allocations: 0.7832 MB / 0.7234 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.6709, allocations: 37.8 kB / 0.7234 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.671, allocations: 8 kB / 0.7234 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.6714, allocations: 112.8 kB / 0.7235 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.672, allocations: 131.8 kB / 0.7236 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006928/0.6727, allocations: 0.685 MB / 0.7243 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.6732, allocations: 47.95 kB / 0.7244 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.6733, allocations: 47.98 kB / 0.7244 GB, free: 8.156 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.0003448/0.6736, allocations: 194.5 kB / 0.7246 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.6737, allocations: 47.72 kB / 0.7246 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.6758, allocations: 0.7368 MB / 0.7254 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6758, allocations: 4 kB / 0.7254 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6758, allocations: 3.938 kB / 0.7254 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6758, allocations: 11.86 kB / 0.7254 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.6784, allocations: 1.274 MB / 0.7266 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6784, allocations: 4 kB / 0.7266 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.6789, allocations: 107.8 kB / 0.7267 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.6795, allocations: 104.9 kB / 0.7268 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.6796, allocations: 23.98 kB / 0.7268 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.6816, allocations: 1.821 MB / 0.7286 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6816, allocations: 0 / 0.7286 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.684, allocations: 0.9789 MB / 0.7296 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.6842, allocations: 172.8 kB / 0.7297 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.6843, allocations: 8 kB / 0.7298 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.6848, allocations: 43.95 kB / 0.7298 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.685, allocations: 63.86 kB / 0.7299 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.685, allocations: 39.98 kB / 0.7299 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003489/0.6854, allocations: 275.1 kB / 0.7302 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6854, allocations: 4 kB / 0.7302 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008763/0.6863, allocations: 231.7 kB / 0.7304 GB, free: 1.742 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.0008285/0.6871, allocations: 302.7 kB / 0.7307 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.6887, allocations: 0.5876 MB / 0.7312 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6887, allocations: 3.938 kB / 0.7312 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/0.6896, allocations: 406.1 kB / 0.7316 GB, free: 444 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6906, allocations: 217.2 kB / 0.7318 GB, free: 236 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/0.9711, allocations: 1.148 MB / 0.733 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.9716, allocations: 0.8572 MB / 0.7338 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007625/0.9724, allocations: 163.4 kB / 0.734 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.9727, allocations: 74.34 kB / 0.734 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.803e-06/0.9727, allocations: 0 / 0.734 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02668/0.9994, allocations: 13.6 MB / 0.7473 GB, free: 174.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/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: 6.273031895048916]