Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.001408/0.001408, allocations: 84.31 kB / 20.68 MB, free: 1.023 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.001487/0.001487, allocations: 164.1 kB / 23.96 MB, free: 4.145 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.437/1.437, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.691e-05, allocations: 6.219 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03056/0.03059, allocations: 24.54 MB / 349.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02847/0.05906, allocations: 22.06 MB / 371.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.05942, allocations: 4 kB / 371.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.06025, allocations: 266.3 kB / 371.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008275/0.06108, allocations: 397.5 kB / 372.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01122/0.0723, allocations: 4.184 MB / 376.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.07364, allocations: 0.9577 MB / 377.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.07387, allocations: 88.06 kB / 377.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.07469, allocations: 0.5181 MB / 378.1 MB, free: 12 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/0.07512, allocations: 263.2 kB / 378.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.07519, allocations: 40 kB / 378.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02057/0.09576, allocations: 10.17 MB / 388.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.09598, allocations: 111.6 kB / 388.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.09633, allocations: 167.7 kB / 388.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03418/0.1305, allocations: 12.01 MB / 400.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1305, allocations: 0 / 400.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1305, allocations: 0 / 400.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1305, allocations: 4 kB / 400.8 MB, free: 9.227 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00582/0.1363, allocations: 1.101 MB / 401.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1364, allocations: 12.03 kB / 401.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.137, allocations: 67.73 kB / 402 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1374, allocations: 256.6 kB / 402.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1374, allocations: 24.66 kB / 402.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.1375, allocations: 40 kB / 402.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.1385, allocations: 0.5996 MB / 402.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1385, allocations: 3.938 kB / 402.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.1386, allocations: 23.94 kB / 402.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1386, allocations: 8 kB / 402.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.1394, allocations: 382.3 kB / 403.3 MB, free: 6.586 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.003182/0.1426, allocations: 2.172 MB / 405.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.1432, allocations: 282.7 kB / 405.8 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1435, allocations: 127.8 kB / 405.9 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.145, allocations: 463.5 kB / 406.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.145, allocations: 38.56 kB / 406.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.145, allocations: 0 / 406.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005712/0.1507, allocations: 1.151 MB / 407.5 MB, free: 2.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1507, allocations: 55.41 kB / 407.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.151, allocations: 232 kB / 407.8 MB, free: 1.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.1511, allocations: 37.7 kB / 407.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1512, allocations: 200.2 kB / 408 MB, free: 1.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1513, allocations: 119 kB / 408.1 MB, free: 1.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1514, allocations: 82.14 kB / 408.2 MB, free: 1.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1516, allocations: 338.8 kB / 408.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1518, allocations: 113 kB / 408.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.1521, allocations: 234.6 kB / 408.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.1527, allocations: 378 kB / 409.3 MB, free: 352 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1527, allocations: 4 kB / 409.3 MB, free: 348 kB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009532/0.1536, allocations: 455.2 kB / 409.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1537, allocations: 8 kB / 409.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.1537, allocations: 4 kB / 409.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.1599, allocations: 245.4 kB / 410 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.1603, allocations: 91.77 kB / 410.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.162, allocations: 1.816 MB / 411.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1622, allocations: 15.94 kB / 411.9 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.1622, allocations: 23.98 kB / 411.9 MB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.1625, allocations: 161.7 kB / 412.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.1627, allocations: 31.81 kB / 412.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.1638, allocations: 0.71 MB / 412.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1638, allocations: 8 kB / 412.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.1638, allocations: 4.188 kB / 412.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009515/0.1648, allocations: 0.8801 MB / 413.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.1663, allocations: 1.083 MB / 414.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1663, allocations: 0 / 414.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1666, allocations: 67.91 kB / 414.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/0.1682, allocations: 176.5 kB / 415 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1682, allocations: 8 kB / 415 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/0.1687, allocations: 0.5796 MB / 415.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1687, allocations: 4.062 kB / 415.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1697, allocations: 0.7473 MB / 416.4 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.1698, allocations: 27.75 kB / 416.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.1699, allocations: 11.95 kB / 416.4 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.17, allocations: 7.938 kB / 416.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.1701, allocations: 31.86 kB / 416.4 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/0.1701, allocations: 19.98 kB / 416.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.1703, allocations: 197.2 kB / 416.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1703, allocations: 0 / 416.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004212/0.1745, allocations: 0.7519 MB / 417.4 MB, free: 7.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.024/0.1985, allocations: 6.516 MB / 423.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1996, allocations: 463.3 kB / 424.4 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1996, allocations: 4 kB / 424.4 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/0.2, allocations: 208 kB / 424.6 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.201, allocations: 166.9 kB / 424.7 MB, free: 496 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2025, allocations: 0.8337 MB / 425.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2027, allocations: 208.8 kB / 425.8 MB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003743/0.2031, allocations: 188.7 kB / 426 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.768e-05/0.2032, allocations: 36.5 kB / 426 MB, free: 15.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2032, allocations: 0 / 426 MB, free: 15.18 MB / 398.1 MB Notification: Performance of Templates: time 0.04217/0.2454, allocations: 28.67 MB / 454.7 MB, free: 2.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.592075444757938]