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.001382/0.001382, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001464/0.001464, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.514/1.514, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.248/0.248, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 179] 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.002173/0.002173, allocations: 63.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3394, allocations: 65.48 MB / 0.5575 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1895/0.5288, allocations: 141.3 MB / 0.6955 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.5323, allocations: 1.579 MB / 0.697 GB, free: 8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.5327, allocations: 19.81 kB / 0.6971 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006794/0.5333, allocations: 206.6 kB / 0.6973 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.5355, allocations: 0.8027 MB / 0.698 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.5373, allocations: 0.6774 MB / 0.6987 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.5388, allocations: 1.162 MB / 0.6998 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004553/0.5392, allocations: 278.2 kB / 0.7001 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008172/0.54, allocations: 490.3 kB / 0.7006 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.5406, allocations: 390.3 kB / 0.7009 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.942e-05/0.5407, allocations: 44 kB / 0.701 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5417, allocations: 499.3 kB / 0.7015 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.5419, allocations: 163.5 kB / 0.7016 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.5422, allocations: 223 kB / 0.7018 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.5436, allocations: 0.9578 MB / 0.7028 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5436, allocations: 0 / 0.7028 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5436, allocations: 0 / 0.7028 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5436, allocations: 0 / 0.7028 GB, free: 2.133 MB / 0.5294 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.00178/0.5454, allocations: 0.8494 MB / 0.7036 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5454, allocations: 11.98 kB / 0.7036 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003886/0.5458, allocations: 83.59 kB / 0.7037 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.5465, allocations: 340.9 kB / 0.704 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.5466, allocations: 92.33 kB / 0.7041 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.5467, allocations: 43.89 kB / 0.7041 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.5479, allocations: 0.7503 MB / 0.7049 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.548, allocations: 3.938 kB / 0.7049 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.548, allocations: 16 kB / 0.7049 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.548, allocations: 16.66 kB / 0.7049 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.549, allocations: 402.2 kB / 0.7053 GB, free: 15.37 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.003304/0.5523, allocations: 1.942 MB / 0.7072 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/0.5532, allocations: 332.9 kB / 0.7075 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/0.5536, allocations: 153.3 kB / 0.7077 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.5536, allocations: 8.219 kB / 0.7077 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006643/0.5543, allocations: 414.2 kB / 0.7081 GB, free: 12.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.983e-06/0.5543, allocations: 4 kB / 0.7081 GB, free: 12.4 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.01247/0.5668, allocations: 3.011 MB / 0.711 GB, free: 9.305 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5669, allocations: 140.5 kB / 0.7111 GB, free: 9.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.5673, allocations: 369.5 kB / 0.7115 GB, free: 8.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.5674, allocations: 37.7 kB / 0.7115 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.5676, allocations: 268.4 kB / 0.7118 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.5678, allocations: 162.6 kB / 0.7119 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.568, allocations: 126.3 kB / 0.7121 GB, free: 8.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002622/0.5682, allocations: 354.8 kB / 0.7124 GB, free: 7.816 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.5689, allocations: 242.8 kB / 0.7126 GB, free: 7.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.5699, allocations: 0.5029 MB / 0.7131 GB, free: 6.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.5714, allocations: 0.6356 MB / 0.7137 GB, free: 6.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5714, allocations: 0 / 0.7137 GB, free: 6.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002094/0.5735, allocations: 0.8234 MB / 0.7145 GB, free: 5.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/0.5736, allocations: 33.7 kB / 0.7146 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5736, allocations: 4 kB / 0.7146 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/0.5741, allocations: 117.4 kB / 0.7147 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.5747, allocations: 131.8 kB / 0.7148 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008356/0.5756, allocations: 0.685 MB / 0.7155 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.5761, allocations: 43.95 kB / 0.7155 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.5761, allocations: 48.03 kB / 0.7156 GB, free: 4.328 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.0003547/0.5765, allocations: 201.7 kB / 0.7158 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.5766, allocations: 51.7 kB / 0.7158 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5786, allocations: 0.7288 MB / 0.7165 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.5786, allocations: 4 kB / 0.7165 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5786, allocations: 4 kB / 0.7165 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.5786, allocations: 7.984 kB / 0.7165 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.5812, allocations: 1.122 MB / 0.7176 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5812, allocations: 4 kB / 0.7176 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.5817, allocations: 103.9 kB / 0.7177 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005714/0.5823, allocations: 112.9 kB / 0.7178 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.5823, allocations: 19.98 kB / 0.7179 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.5844, allocations: 1.679 MB / 0.7195 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5844, allocations: 0 / 0.7195 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.5868, allocations: 0.9831 MB / 0.7205 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.5871, allocations: 83.55 kB / 0.7205 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.5871, allocations: 12 kB / 0.7206 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.5876, allocations: 47.94 kB / 0.7206 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.5877, allocations: 55.91 kB / 0.7207 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/0.5878, allocations: 39.98 kB / 0.7207 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003121/0.5881, allocations: 255.2 kB / 0.7209 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5881, allocations: 0 / 0.7209 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008775/0.589, allocations: 231.7 kB / 0.7212 GB, free: 14.38 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.0008049/0.5898, allocations: 293.2 kB / 0.7214 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001612/0.5914, allocations: 0.6193 MB / 0.722 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5914, allocations: 1.125 kB / 0.722 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009183/0.5923, allocations: 398.6 kB / 0.7224 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5934, allocations: 210.2 kB / 0.7226 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5958, allocations: 1.155 MB / 0.7237 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.5961, allocations: 260.8 kB / 0.724 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000535/0.5966, allocations: 148.5 kB / 0.7241 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.5968, allocations: 71.42 kB / 0.7242 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5968, allocations: 0 / 0.7242 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.2805/0.8773, allocations: 13.64 MB / 0.7375 GB, free: 177.5 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.289736015722156]