Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002626/0.002626, allocations: 87.67 kB / 20.21 MB, free: 4.211 MB / 18.57 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.003283/0.003283, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2964/0.2964, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.496e-05/4.744e-05, allocations: 10.25 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.7185/0.7185, allocations: 156.2 MB / 0.4914 GB, free: 4.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007971/0.7265, allocations: 4.05 MB / 0.4953 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.7275, allocations: 19.97 kB / 0.4953 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.7286, allocations: 202.2 kB / 0.4955 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.7323, allocations: 0.8717 MB / 0.4964 GB, free: 152 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.7351, allocations: 0.6929 MB / 0.4971 GB, free: 15.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.7377, allocations: 1.177 MB / 0.4982 GB, free: 14.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000973/0.7387, allocations: 294.3 kB / 0.4985 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.7406, allocations: 0.6222 MB / 0.4991 GB, free: 14.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008723/0.7415, allocations: 343.5 kB / 0.4994 GB, free: 14.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.7416, allocations: 43.28 kB / 0.4995 GB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.7436, allocations: 0.5224 MB / 0.5 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.7439, allocations: 178.5 kB / 0.5002 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.7444, allocations: 193.4 kB / 0.5003 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.7473, allocations: 1.051 MB / 0.5014 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.7473, allocations: 0 / 0.5014 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7473, allocations: 0 / 0.5014 GB, free: 13.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.7473, allocations: 0 / 0.5014 GB, free: 13.02 MB / 378.7 MB 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.002735/0.7501, allocations: 0.9547 MB / 0.5023 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/0.7501, allocations: 11.09 kB / 0.5023 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00068/0.7508, allocations: 120.5 kB / 0.5024 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.7518, allocations: 365.2 kB / 0.5028 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.752, allocations: 88.48 kB / 0.5029 GB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7521, allocations: 43.62 kB / 0.5029 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.7535, allocations: 0.7589 MB / 0.5036 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.7536, allocations: 4 kB / 0.5036 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.7536, allocations: 23.92 kB / 0.5037 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.7537, allocations: 12.66 kB / 0.5037 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.7546, allocations: 334.2 kB / 0.504 GB, free: 10.54 MB / 378.7 MB 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.004862/0.7594, allocations: 2.477 MB / 0.5064 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.7604, allocations: 313.3 kB / 0.5067 GB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.7608, allocations: 136.2 kB / 0.5068 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.7608, allocations: 4.281 kB / 0.5068 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009137/0.7617, allocations: 461.1 kB / 0.5073 GB, free: 6.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.817e-06/0.7618, allocations: 0 / 0.5073 GB, free: 6.984 MB / 378.7 MB 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.011/0.7728, allocations: 2.452 MB / 0.5097 GB, free: 4.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001875/0.7729, allocations: 166.2 kB / 0.5098 GB, free: 4.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008234/0.7738, allocations: 474.6 kB / 0.5103 GB, free: 3.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/0.7738, allocations: 33.7 kB / 0.5103 GB, free: 3.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.7743, allocations: 327.1 kB / 0.5106 GB, free: 3.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/0.7745, allocations: 174.6 kB / 0.5108 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.7748, allocations: 139.9 kB / 0.5109 GB, free: 3.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005095/0.7754, allocations: 0.5586 MB / 0.5115 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.7759, allocations: 202.9 kB / 0.5117 GB, free: 2.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.777, allocations: 0.5696 MB / 0.5122 GB, free: 1.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.7784, allocations: 0.631 MB / 0.5129 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.7784, allocations: 7.312 kB / 0.5129 GB, free: 0.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00215/0.7805, allocations: 0.7496 MB / 0.5136 GB, free: 104 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/0.7806, allocations: 44.28 kB / 0.5136 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.7806, allocations: 4.656 kB / 0.5136 GB, free: 52 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.7813, allocations: 111.7 kB / 0.5137 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7819, allocations: 127.8 kB / 0.5139 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.7831, allocations: 0.9171 MB / 0.5148 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.7837, allocations: 31.98 kB / 0.5148 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-05/0.7838, allocations: 43.92 kB / 0.5148 GB, free: 14.79 MB / 394.7 MB 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.0005532/0.7843, allocations: 240.3 kB / 0.5151 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7845, allocations: 59.72 kB / 0.5151 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.7865, allocations: 0.6304 MB / 0.5157 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7865, allocations: 4 kB / 0.5157 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7865, allocations: 0 / 0.5157 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7865, allocations: 7.984 kB / 0.5157 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.7897, allocations: 1.186 MB / 0.5169 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.7897, allocations: 5.312 kB / 0.5169 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.7902, allocations: 84.05 kB / 0.517 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008509/0.791, allocations: 127.6 kB / 0.5171 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.7911, allocations: 19.98 kB / 0.5171 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.7942, allocations: 2.175 MB / 0.5193 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7942, allocations: 3.938 kB / 0.5193 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.7969, allocations: 0.9351 MB / 0.5202 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.7975, allocations: 83.66 kB / 0.5203 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7976, allocations: 16 kB / 0.5203 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.7981, allocations: 27.97 kB / 0.5203 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.7984, allocations: 67.84 kB / 0.5204 GB, free: 8.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.7985, allocations: 27.98 kB / 0.5204 GB, free: 8.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004653/0.7989, allocations: 303 kB / 0.5207 GB, free: 8.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7989, allocations: 0 / 0.5207 GB, free: 8.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001427/0.8004, allocations: 235.7 kB / 0.5209 GB, free: 8.312 MB / 394.7 MB 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 (40): * Single equations (assignments): 37 * 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.001322/0.8017, allocations: 339.6 kB / 0.5212 GB, free: 7.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.8037, allocations: 0.5836 MB / 0.5218 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.8037, allocations: 0 / 0.5218 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.8048, allocations: 442.2 kB / 0.5222 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8064, allocations: 215.7 kB / 0.5224 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.8096, allocations: 1.048 MB / 0.5234 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.8101, allocations: 252.9 kB / 0.5237 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000681/0.8108, allocations: 128.5 kB / 0.5238 GB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.811, allocations: 64.48 kB / 0.5239 GB, free: 5.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.334e-06/0.811, allocations: 4 kB / 0.5239 GB, free: 5.156 MB / 394.7 MB Notification: Performance of Templates: time 0.03517/0.8462, allocations: 13.2 MB / 0.5368 GB, free: 8.055 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.570346502005123]