Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.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.001698/0.001698, allocations: 113 kB / 19.04 MB, free: 3.254 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.001812/0.001812, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.549/1.549, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2696, allocations: 52.13 MB / 420.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01651/0.2861, allocations: 13.03 MB / 433.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.301, allocations: 11.61 MB / 445.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.3011, allocations: 4 kB / 445.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.3016, allocations: 75.55 kB / 445.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.302, allocations: 79.44 kB / 445.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01599/0.3179, allocations: 5.073 MB / 450.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.3184, allocations: 235 kB / 450.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.3184, allocations: 17.38 kB / 451 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.3189, allocations: 199.3 kB / 451.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.319, allocations: 67.75 kB / 451.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.319, allocations: 8 kB / 451.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.3325, allocations: 7.001 MB / 458.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.3326, allocations: 27.91 kB / 458.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3328, allocations: 71.67 kB / 458.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00849/0.3413, allocations: 3.874 MB / 462.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3413, allocations: 3.938 kB / 462.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3413, allocations: 0 / 462.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3413, allocations: 0 / 462.2 MB, free: 5.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005012/0.3463, allocations: 1.167 MB / 463.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3463, allocations: 8.031 kB / 463.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.3468, allocations: 48.8 kB / 463.4 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.3472, allocations: 228.2 kB / 463.6 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.3472, allocations: 16.66 kB / 463.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.3473, allocations: 20.33 kB / 463.7 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3486, allocations: 384.8 kB / 464.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3487, allocations: 3.984 kB / 464.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.3487, allocations: 11.98 kB / 464.1 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3487, allocations: 4 kB / 464.1 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3502, allocations: 355.5 kB / 464.4 MB, free: 3.289 MB / 366.1 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.001598/0.3518, allocations: 1.184 MB / 465.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.3526, allocations: 271.8 kB / 465.9 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.3529, allocations: 110.9 kB / 466 MB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1017/0.4546, allocations: 47.65 MB / 0.5016 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.709e-05/0.4547, allocations: 46.55 kB / 0.5016 GB, free: 12.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.4547, allocations: 0 / 0.5016 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.007303/0.462, allocations: 1.579 MB / 0.5032 GB, free: 10.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.462, allocations: 110.8 kB / 0.5033 GB, free: 10.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.4622, allocations: 121.9 kB / 0.5034 GB, free: 10.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4622, allocations: 33.64 kB / 0.5034 GB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.4623, allocations: 104.6 kB / 0.5035 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4624, allocations: 126.9 kB / 0.5036 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4625, allocations: 69.47 kB / 0.5037 GB, free: 10.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4627, allocations: 326.8 kB / 0.504 GB, free: 9.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.4631, allocations: 136.3 kB / 0.5042 GB, free: 9.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.4635, allocations: 194.8 kB / 0.5043 GB, free: 9.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.4644, allocations: 350.5 kB / 0.5047 GB, free: 8.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4644, allocations: 4 kB / 0.5047 GB, free: 8.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001104/0.4655, allocations: 429.9 kB / 0.5051 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4655, allocations: 8 kB / 0.5051 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4655, allocations: 0 / 0.5051 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.4658, allocations: 37.06 kB / 0.5051 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.4662, allocations: 87.88 kB / 0.5052 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000461/0.4667, allocations: 0.5522 MB / 0.5058 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.467, allocations: 24.02 kB / 0.5058 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/0.467, allocations: 16.08 kB / 0.5058 GB, free: 7.809 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.4672, allocations: 141.7 kB / 0.5059 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4673, allocations: 15.91 kB / 0.5059 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.4696, allocations: 1.45 MB / 0.5074 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/0.4697, allocations: 19.97 kB / 0.5074 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4697, allocations: 3.984 kB / 0.5074 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4697, allocations: 4 kB / 0.5074 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.473, allocations: 1.983 MB / 0.5093 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.473, allocations: 4 kB / 0.5093 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.4735, allocations: 84.05 kB / 0.5094 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.4738, allocations: 72.69 kB / 0.5095 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.4739, allocations: 11.98 kB / 0.5095 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004944/0.4744, allocations: 0.5914 MB / 0.5101 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4744, allocations: 3.984 kB / 0.5101 GB, free: 3.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.4768, allocations: 1.694 MB / 0.5117 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4769, allocations: 124.6 kB / 0.5118 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.477, allocations: 12 kB / 0.5119 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.4773, allocations: 23.95 kB / 0.5119 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.893e-05/0.4774, allocations: 31.91 kB / 0.5119 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.4775, allocations: 19.98 kB / 0.5119 GB, free: 1.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.4775, allocations: 95.27 kB / 0.512 GB, free: 1.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4775, allocations: 0 / 0.512 GB, free: 1.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002892/0.4804, allocations: 0.9711 MB / 0.513 GB, free: 292 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00414/0.4846, allocations: 1.139 MB / 0.5141 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.4861, allocations: 0.5971 MB / 0.5147 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4861, allocations: 3.938 kB / 0.5147 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.4869, allocations: 452.7 kB / 0.5151 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/0.4878, allocations: 79.98 kB / 0.5152 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.4903, allocations: 1.322 MB / 0.5165 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.4908, allocations: 0.8139 MB / 0.5173 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.4912, allocations: 137.8 kB / 0.5174 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.4913, allocations: 39.41 kB / 0.5174 GB, free: 11.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4913, allocations: 3.938 kB / 0.5174 GB, free: 11.63 MB / 446.1 MB Notification: Performance of Templates: time 0.2387/0.73, allocations: 36.58 MB / 0.5532 GB, free: 129.8 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.0.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.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.164024435915053]