Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.00107/0.00107, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002736, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001082/0.001082, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.00266, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9744/0.9744, allocations: 177.5 MB / 190.1 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09396/1.068, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04039/0.2946, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.414e-05, allocations: 5.531 kB / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009225/0.009239, allocations: 8.583 MB / 302.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02079, allocations: 12.87 MB / 315.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.02083, allocations: 4 kB / 315.5 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.02095, allocations: 39.75 kB / 315.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.0258, allocations: 2.052 MB / 317.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.055e-06/0.02581, allocations: 0 / 317.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.02592, allocations: 55.59 kB / 317.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.868e-05/0.026, allocations: 12 kB / 317.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.02616, allocations: 43.78 kB / 317.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.0262, allocations: 11.98 kB / 317.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.0262, allocations: 0 / 317.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006997/0.0332, allocations: 6.046 MB / 323.8 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.03322, allocations: 7.938 kB / 323.8 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.03324, allocations: 8 kB / 323.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.03999, allocations: 4.822 MB / 328.6 MB, free: 2.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.04, allocations: 4 kB / 328.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.04, allocations: 0 / 328.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.04001, allocations: 0 / 328.6 MB, free: 2.453 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002029/0.04204, allocations: 1.279 MB / 329.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.04207, allocations: 12.92 kB / 329.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.04217, allocations: 23.92 kB / 329.9 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/0.04225, allocations: 113.1 kB / 330.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.04226, allocations: 8 kB / 330.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.04227, allocations: 8 kB / 330.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.04245, allocations: 110 kB / 330.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.04245, allocations: 0 / 330.2 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.04246, allocations: 7.984 kB / 330.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.04247, allocations: 3.938 kB / 330.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.04254, allocations: 43.97 kB / 330.2 MB, free: 0.7695 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.0002551/0.04279, allocations: 229.7 kB / 330.5 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.04289, allocations: 51.77 kB / 330.5 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.04291, allocations: 23.67 kB / 330.5 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003863/0.04677, allocations: 3.118 MB / 333.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.04679, allocations: 38.5 kB / 333.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.04679, allocations: 3.938 kB / 333.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002444/0.04704, allocations: 101.5 kB / 333.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.04706, allocations: 51.41 kB / 333.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.927e-05/0.04711, allocations: 106.7 kB / 333.9 MB, free: 12.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.04712, allocations: 29.7 kB / 334 MB, free: 12.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.04715, allocations: 92.09 kB / 334.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.04717, allocations: 27.77 kB / 334.1 MB, free: 12.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.04719, allocations: 17.72 kB / 334.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.04726, allocations: 322.8 kB / 334.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.04728, allocations: 12 kB / 334.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.0473, allocations: 25.7 kB / 334.5 MB, free: 12.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.04734, allocations: 42.09 kB / 334.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.04734, allocations: 0 / 334.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.094e-05/0.04742, allocations: 78.48 kB / 334.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.04744, allocations: 7.938 kB / 334.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.04744, allocations: 3.984 kB / 334.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.04746, allocations: 4 kB / 334.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.04752, allocations: 15.98 kB / 334.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.04753, allocations: 4 kB / 334.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.04755, allocations: 4 kB / 334.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.04755, allocations: 4 kB / 334.6 MB, free: 12.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.04761, allocations: 109.9 kB / 334.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.04764, allocations: 19.83 kB / 334.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.04783, allocations: 206.3 kB / 334.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.04784, allocations: 0 / 334.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.04784, allocations: 0 / 334.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.04784, allocations: 0 / 334.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.04796, allocations: 109.8 kB / 335.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.04796, allocations: 0 / 335.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.048, allocations: 23.98 kB / 335.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.04801, allocations: 3.953 kB / 335.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.04801, allocations: 4 kB / 335.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.04802, allocations: 7.938 kB / 335.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.04802, allocations: 0 / 335.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.04802, allocations: 0 / 335.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.04814, allocations: 243.9 kB / 335.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.04815, allocations: 8 kB / 335.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.04818, allocations: 7.938 kB / 335.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.04821, allocations: 11.98 kB / 335.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.04821, allocations: 3.984 kB / 335.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.007e-05/0.04822, allocations: 12.84 kB / 335.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04822, allocations: 0 / 335.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00104/0.04926, allocations: 374.9 kB / 335.7 MB, free: 11.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007201/0.05647, allocations: 3.66 MB / 339.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.05656, allocations: 60.72 kB / 339.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.05657, allocations: 0 / 339.5 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.05662, allocations: 44.83 kB / 339.5 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.0568, allocations: 57.61 kB / 339.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.05844, allocations: 263.3 kB / 339.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.05848, allocations: 63.34 kB / 339.9 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.05855, allocations: 45.09 kB / 339.9 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.05862, allocations: 71.36 kB / 340 MB, free: 6.773 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.05862, allocations: 0 / 340 MB, free: 6.773 MB / 330.7 MB Notification: Performance of Templates: time 0.01581/0.07443, allocations: 18.01 MB / 358 MB, free: 4.754 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6406570272520185]