Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008007/0.0008007, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003562/0.003562, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8693/0.8693, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.869e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01663/0.01665, allocations: 24.53 MB / 350.3 MB, free: 6.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.03117, allocations: 22.07 MB / 372.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.03142, allocations: 7.938 kB / 372.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.03205, allocations: 274.3 kB / 372.7 MB, free: 340 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007187/0.03277, allocations: 401.4 kB / 373 MB, free: 15.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007323/0.04009, allocations: 4.177 MB / 377.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.04084, allocations: 0.9539 MB / 378.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.041, allocations: 77.08 kB / 378.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.04145, allocations: 0.5181 MB / 378.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.04169, allocations: 283.1 kB / 379 MB, free: 9.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.04172, allocations: 36 kB / 379.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009756/0.05148, allocations: 10.17 MB / 389.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.05161, allocations: 115.6 kB / 389.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.05178, allocations: 167.7 kB / 389.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.06632, allocations: 12 MB / 401.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.06633, allocations: 0 / 401.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.06633, allocations: 0 / 401.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.06634, allocations: 0 / 401.5 MB, free: 3.402 MB / 362.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.003892/0.07023, allocations: 1.101 MB / 402.6 MB, free: 2.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.07027, allocations: 19.86 kB / 402.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.07061, allocations: 71.73 kB / 402.7 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.071, allocations: 264.6 kB / 403 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.07102, allocations: 20.66 kB / 403 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.07106, allocations: 32 kB / 403 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.07163, allocations: 0.6035 MB / 403.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.07164, allocations: 4 kB / 403.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.07167, allocations: 19.94 kB / 403.6 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.07168, allocations: 12 kB / 403.7 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.0721, allocations: 386.3 kB / 404 MB, free: 0.7461 MB / 362.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.001851/0.07395, allocations: 2.164 MB / 406.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.07435, allocations: 282.8 kB / 406.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.07448, allocations: 124.8 kB / 406.6 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.07517, allocations: 463.4 kB / 407 MB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.07519, allocations: 38.56 kB / 407.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.0752, allocations: 3.984 kB / 407.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002972/0.07817, allocations: 1.154 MB / 408.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.0782, allocations: 63.33 kB / 408.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.07836, allocations: 239.9 kB / 408.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.07838, allocations: 33.7 kB / 408.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.07847, allocations: 196.3 kB / 408.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.07852, allocations: 123 kB / 408.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.07867, allocations: 86.14 kB / 409 MB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.07875, allocations: 334.8 kB / 409.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.07888, allocations: 113 kB / 409.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.07905, allocations: 233.6 kB / 409.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.07937, allocations: 377.5 kB / 410 MB, free: 10.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.07938, allocations: 0 / 410 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000531/0.07991, allocations: 450.8 kB / 410.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.07992, allocations: 8 kB / 410.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.07993, allocations: 4 kB / 410.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00265/0.08258, allocations: 253.8 kB / 410.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.08276, allocations: 87.84 kB / 410.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.08362, allocations: 1.816 MB / 412.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.08372, allocations: 19.94 kB / 412.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.08374, allocations: 16.25 kB / 412.6 MB, free: 7.719 MB / 378.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.000118/0.08386, allocations: 157.8 kB / 412.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.08393, allocations: 35.8 kB / 412.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006202/0.08455, allocations: 0.7018 MB / 413.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.08456, allocations: 15.98 kB / 413.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.08456, allocations: 0 / 413.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/0.08507, allocations: 0.8727 MB / 414.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.08592, allocations: 1.087 MB / 415.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.08593, allocations: 3.938 kB / 415.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.08606, allocations: 67.91 kB / 415.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006676/0.08673, allocations: 172.5 kB / 415.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.08674, allocations: 15.98 kB / 415.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002845/0.08703, allocations: 0.5835 MB / 416.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08703, allocations: 0 / 416.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.08764, allocations: 0.7435 MB / 417.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.08767, allocations: 27.78 kB / 417.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.08769, allocations: 11.95 kB / 417.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.08778, allocations: 8 kB / 417.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.0878, allocations: 23.95 kB / 417.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.08782, allocations: 19.97 kB / 417.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.08794, allocations: 201.2 kB / 417.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08794, allocations: 0 / 417.4 MB, free: 2.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002681/0.09062, allocations: 0.756 MB / 418.1 MB, free: 2.023 MB / 378.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.01427/0.1049, allocations: 6.509 MB / 424.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006768/0.1056, allocations: 473.9 kB / 425.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1056, allocations: 0.875 kB / 425.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1058, allocations: 204.4 kB / 425.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.1063, allocations: 163.5 kB / 425.5 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1074, allocations: 0.8718 MB / 426.3 MB, free: 9.754 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1075, allocations: 200.9 kB / 426.5 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.1075, allocations: 44.48 kB / 426.6 MB, free: 9.496 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1075, allocations: 0 / 426.6 MB, free: 9.496 MB / 394.7 MB Notification: Performance of Templates: time 0.1407/0.2483, allocations: 29.47 MB / 456 MB, free: 113.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 6.804986638016999]