Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009622/0.0009622, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001468/0.001468, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.8544/0.8544, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 7.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.588e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02139/0.0214, allocations: 27.31 MB / 278.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.03903, allocations: 24.91 MB / 303.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.03927, allocations: 7.938 kB / 303.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.03991, allocations: 270.3 kB / 303.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.04045, allocations: 389.5 kB / 304 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.04772, allocations: 4.179 MB / 308.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.0485, allocations: 0.9538 MB / 309.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.04866, allocations: 77.17 kB / 309.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.04915, allocations: 0.5259 MB / 309.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005549/0.0497, allocations: 275.2 kB / 310 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.04974, allocations: 36 kB / 310 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.06074, allocations: 10.15 MB / 320.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.06091, allocations: 123.6 kB / 320.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.06106, allocations: 167.7 kB / 320.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.07743, allocations: 11.79 MB / 332.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.07744, allocations: 0 / 332.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.07744, allocations: 0 / 332.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.07744, allocations: 0 / 332.3 MB, free: 6.387 MB / 314.7 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.004541/0.08199, allocations: 1.197 MB / 333.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.08203, allocations: 15.98 kB / 333.5 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.08247, allocations: 135.1 kB / 333.6 MB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.0828, allocations: 271.4 kB / 333.9 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.08282, allocations: 20.66 kB / 333.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.08287, allocations: 36 kB / 333.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.08345, allocations: 0.5374 MB / 334.5 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.08347, allocations: 3.938 kB / 334.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.0835, allocations: 19.92 kB / 334.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.08351, allocations: 8 kB / 334.5 MB, free: 3.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.08389, allocations: 255.6 kB / 334.8 MB, free: 3.746 MB / 314.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.002019/0.0859, allocations: 2.594 MB / 337.3 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.0863, allocations: 219.2 kB / 337.6 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.08641, allocations: 87.64 kB / 337.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.08698, allocations: 395.6 kB / 338 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.08702, allocations: 45.39 kB / 338.1 MB, free: 320 kB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.08702, allocations: 0 / 338.1 MB, free: 320 kB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003247/0.09027, allocations: 0.9809 MB / 339.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.0903, allocations: 55.41 kB / 339.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.09046, allocations: 278.5 kB / 339.4 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.09048, allocations: 33.7 kB / 339.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.09059, allocations: 247 kB / 339.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.09064, allocations: 122.9 kB / 339.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.09073, allocations: 91.84 kB / 339.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.09084, allocations: 0.5001 MB / 340.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.09094, allocations: 64.95 kB / 340.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.09112, allocations: 231.9 kB / 340.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.09143, allocations: 330.8 kB / 341 MB, free: 13.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.09143, allocations: 0 / 341 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004733/0.0919, allocations: 376.4 kB / 341.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.09192, allocations: 8.438 kB / 341.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.09193, allocations: 8 kB / 341.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/0.09429, allocations: 231 kB / 341.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.0945, allocations: 91.83 kB / 341.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.09569, allocations: 2.54 MB / 344.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.09579, allocations: 19.92 kB / 344.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.09581, allocations: 20 kB / 344.3 MB, free: 9.707 MB / 330.7 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.0001197/0.09593, allocations: 176.5 kB / 344.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.09599, allocations: 39.81 kB / 344.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.09653, allocations: 496.1 kB / 345 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.09654, allocations: 7.984 kB / 345 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.09654, allocations: 12.16 kB / 345 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006071/0.09715, allocations: 0.6487 MB / 345.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.09792, allocations: 0.8542 MB / 346.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.09793, allocations: 0 / 346.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.09808, allocations: 67.89 kB / 346.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007247/0.0988, allocations: 163.4 kB / 346.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.09882, allocations: 8 kB / 346.7 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002619/0.09908, allocations: 0.7999 MB / 347.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09908, allocations: 0 / 347.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.09961, allocations: 0.5667 MB / 348.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.09964, allocations: 31.75 kB / 348.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.09967, allocations: 11.95 kB / 348.1 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.09976, allocations: 8.094 kB / 348.1 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.09979, allocations: 27.95 kB / 348.2 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.09981, allocations: 11.98 kB / 348.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.09993, allocations: 221.1 kB / 348.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09993, allocations: 3.938 kB / 348.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003321/0.1033, allocations: 0.748 MB / 349.1 MB, free: 4.602 MB / 330.7 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.1195/0.2227, allocations: 6.501 MB / 355.6 MB, free: 100.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006668/0.2234, allocations: 432.1 kB / 356.1 MB, free: 99.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2234, allocations: 1.656 kB / 356.1 MB, free: 99.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.2236, allocations: 157.9 kB / 356.2 MB, free: 99.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006015/0.2242, allocations: 172.2 kB / 356.4 MB, free: 99.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2254, allocations: 0.7816 MB / 357.2 MB, free: 99.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.2255, allocations: 111.7 kB / 357.3 MB, free: 99.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.2257, allocations: 185.3 kB / 357.5 MB, free: 99.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.2258, allocations: 39.84 kB / 357.5 MB, free: 99.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2258, allocations: 0 / 357.5 MB, free: 99.51 MB / 330.7 MB Notification: Performance of Templates: time 0.02138/0.2472, allocations: 28.87 MB / 386.4 MB, free: 72.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.584275452885777]