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.001597/0.001597, allocations: 84.16 kB / 22 MB, free: 5.18 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.001389/0.001389, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.313/1.313, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001849/0.001849, allocations: 51.92 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2261, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03148/0.2576, allocations: 24.64 MB / 373.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02735/0.285, allocations: 22.07 MB / 395.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.2853, allocations: 4 kB / 395.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.2862, allocations: 266.5 kB / 395.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00091/0.2871, allocations: 381.8 kB / 395.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.2985, allocations: 4.101 MB / 400 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.3, allocations: 0.9621 MB / 400.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.3003, allocations: 73.23 kB / 401 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.301, allocations: 398.7 kB / 401.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.3015, allocations: 302.7 kB / 401.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.3016, allocations: 40 kB / 401.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01964/0.3213, allocations: 10.12 MB / 411.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.3215, allocations: 119.5 kB / 412 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.3218, allocations: 187.4 kB / 412.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03303/0.3549, allocations: 11.5 MB / 423.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.3549, allocations: 4 kB / 423.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3549, allocations: 0 / 423.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3549, allocations: 0 / 423.6 MB, free: 4.176 MB / 382.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.00563/0.3605, allocations: 1.105 MB / 424.8 MB, free: 3.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3606, allocations: 15.98 kB / 424.8 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005493/0.3611, allocations: 63.78 kB / 424.8 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.3616, allocations: 268.5 kB / 425.1 MB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3616, allocations: 24.66 kB / 425.1 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.3617, allocations: 32 kB / 425.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3627, allocations: 0.6074 MB / 425.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3627, allocations: 3.938 kB / 425.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.3628, allocations: 19.94 kB / 425.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3628, allocations: 8 kB / 425.8 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007647/0.3635, allocations: 386.3 kB / 426.2 MB, free: 1.523 MB / 382.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.003564/0.3671, allocations: 2.172 MB / 428.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.3678, allocations: 278.7 kB / 428.6 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.368, allocations: 132.8 kB / 428.7 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.3695, allocations: 467.4 kB / 429.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3696, allocations: 38.5 kB / 429.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.3696, allocations: 0 / 429.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005363/0.3749, allocations: 1.147 MB / 430.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.375, allocations: 55.41 kB / 430.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.3752, allocations: 232 kB / 430.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3753, allocations: 37.7 kB / 430.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.3754, allocations: 192.3 kB / 430.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3756, allocations: 126.9 kB / 431 MB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3757, allocations: 86.19 kB / 431.1 MB, free: 12.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3759, allocations: 330.8 kB / 431.4 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3761, allocations: 117 kB / 431.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.3764, allocations: 230.6 kB / 431.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005796/0.377, allocations: 369.5 kB / 432.1 MB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.377, allocations: 0 / 432.1 MB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008975/0.3779, allocations: 462.7 kB / 432.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3779, allocations: 7.938 kB / 432.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3779, allocations: 4 kB / 432.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/0.3826, allocations: 237.9 kB / 432.8 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.383, allocations: 95.89 kB / 432.9 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.3847, allocations: 1.816 MB / 434.7 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3849, allocations: 8 kB / 434.7 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3849, allocations: 23.98 kB / 434.8 MB, free: 8.512 MB / 398.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.0002228/0.3851, allocations: 166 kB / 434.9 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.3852, allocations: 27.86 kB / 434.9 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3864, allocations: 0.7178 MB / 435.7 MB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3864, allocations: 7.938 kB / 435.7 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3864, allocations: 0 / 435.7 MB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.3874, allocations: 0.88 MB / 436.5 MB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.389, allocations: 1.083 MB / 437.6 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.389, allocations: 0 / 437.6 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.3892, allocations: 67.91 kB / 437.7 MB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.3908, allocations: 180.5 kB / 437.9 MB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3909, allocations: 8 kB / 437.9 MB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004323/0.3913, allocations: 0.5758 MB / 438.5 MB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3913, allocations: 4.094 kB / 438.5 MB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3924, allocations: 0.747 MB / 439.2 MB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3924, allocations: 31.78 kB / 439.2 MB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.3925, allocations: 15.95 kB / 439.3 MB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3927, allocations: 4 kB / 439.3 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3927, allocations: 27.89 kB / 439.3 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3927, allocations: 15.98 kB / 439.3 MB, free: 3.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.393, allocations: 197.2 kB / 439.5 MB, free: 3.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.393, allocations: 0 / 439.5 MB, free: 3.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005387/0.3983, allocations: 0.748 MB / 440.2 MB, free: 2.816 MB / 398.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.02581/0.4242, allocations: 6.411 MB / 446.7 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4252, allocations: 466.7 kB / 447.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4252, allocations: 0 / 447.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.4257, allocations: 212.9 kB / 447.3 MB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4268, allocations: 168.1 kB / 447.5 MB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4285, allocations: 0.909 MB / 448.4 MB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4287, allocations: 204.9 kB / 448.6 MB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.4291, allocations: 187.1 kB / 448.8 MB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.4292, allocations: 40.48 kB / 448.8 MB, free: 10.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4292, allocations: 0 / 448.8 MB, free: 10.16 MB / 414.1 MB Notification: Performance of Templates: time 0.218/0.6472, allocations: 28.42 MB / 477.2 MB, free: 109.5 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.02835745702032]