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.0009578/0.0009578, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001019/0.001019, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.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.274/0.274, allocations: 34.87 MB / 296.3 MB, free: 0.5273 MB / 266.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.553e-06/1.553e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.223e-05, allocations: 3.719 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01286/0.01289, allocations: 8.517 MB / 387.3 MB, free: 9.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.02716, allocations: 12.86 MB / 400.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.02721, allocations: 0 / 400.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.02746, allocations: 35.75 kB / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007355/0.03481, allocations: 2.187 MB / 402.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.354e-06/0.03482, allocations: 0 / 402.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.03494, allocations: 51.61 kB / 402.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.03498, allocations: 4 kB / 402.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.03514, allocations: 39.83 kB / 402.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.03517, allocations: 8 kB / 402.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.03519, allocations: 0 / 402.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009419/0.04461, allocations: 5.898 MB / 408.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.04463, allocations: 7.938 kB / 408.4 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.04467, allocations: 12 kB / 408.4 MB, free: 4.398 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008413/0.05308, allocations: 5.075 MB / 413.4 MB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.05309, allocations: 4 kB / 413.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05309, allocations: 0 / 413.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.05309, allocations: 0 / 413.4 MB, free: 15.31 MB / 394.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.002345/0.05544, allocations: 0.6459 MB / 414.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.05548, allocations: 12.02 kB / 414.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.05563, allocations: 31.83 kB / 414.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.016e-05/0.05572, allocations: 116 kB / 414.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.05574, allocations: 4 kB / 414.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.05575, allocations: 0 / 414.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.05598, allocations: 102.3 kB / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.05599, allocations: 0 / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.056, allocations: 0 / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.05601, allocations: 7.922 kB / 414.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.05611, allocations: 63.95 kB / 414.4 MB, free: 14.26 MB / 394.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.0004589/0.05657, allocations: 343.5 kB / 414.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.05671, allocations: 63.03 kB / 414.8 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.05675, allocations: 31.61 kB / 414.8 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.05829, allocations: 0.9006 MB / 415.7 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.05832, allocations: 41.38 kB / 415.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.05832, allocations: 0 / 415.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003426/0.05866, allocations: 137.5 kB / 415.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.05869, allocations: 51.41 kB / 416 MB, free: 12.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.05877, allocations: 161.9 kB / 416.1 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.05879, allocations: 29.7 kB / 416.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.05883, allocations: 134.8 kB / 416.3 MB, free: 12.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.05885, allocations: 27.83 kB / 416.3 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.05889, allocations: 27.38 kB / 416.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.05901, allocations: 0.4962 MB / 416.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.05904, allocations: 16 kB / 416.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.05908, allocations: 35.36 kB / 416.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.05916, allocations: 55.36 kB / 416.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.05916, allocations: 0 / 416.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001479/0.05931, allocations: 93.5 kB / 417 MB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.05932, allocations: 4 kB / 417 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.05933, allocations: 8.031 kB / 417 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.05935, allocations: 0 / 417 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.05942, allocations: 23.92 kB / 417.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.05942, allocations: 0 / 417.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.05945, allocations: 11.94 kB / 417.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.05946, allocations: 4 kB / 417.1 MB, free: 11.44 MB / 394.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 6.724e-05/0.05953, allocations: 160.6 kB / 417.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.05956, allocations: 11.89 kB / 417.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.0598, allocations: 189.5 kB / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.05981, allocations: 0 / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.05981, allocations: 0 / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.05981, allocations: 0 / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.05995, allocations: 168.5 kB / 417.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.05996, allocations: 0 / 417.6 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.06, allocations: 23.92 kB / 417.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.06, allocations: 7.938 kB / 417.6 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.06001, allocations: 4 kB / 417.6 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.06001, allocations: 3.938 kB / 417.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.06001, allocations: 0 / 417.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.06021, allocations: 275.1 kB / 417.9 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.06022, allocations: 11.89 kB / 417.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.06023, allocations: 0 / 417.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.06026, allocations: 4 kB / 417.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.06031, allocations: 19.91 kB / 417.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.06031, allocations: 4 kB / 418 MB, free: 10.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.06035, allocations: 123.2 kB / 418.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06035, allocations: 0 / 418.1 MB, free: 10.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001536/0.06188, allocations: 378.9 kB / 418.4 MB, free: 10.01 MB / 394.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.008261/0.07014, allocations: 3.629 MB / 422.1 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.07033, allocations: 75.78 kB / 422.1 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.07034, allocations: 0 / 422.1 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.0704, allocations: 59.59 kB / 422.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.07065, allocations: 19.92 kB / 422.2 MB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.07143, allocations: 258.1 kB / 422.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.07147, allocations: 63.36 kB / 422.5 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.07156, allocations: 43.89 kB / 422.6 MB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.0716, allocations: 24.48 kB / 422.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.0716, allocations: 0 / 422.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of Templates: time 0.01684/0.08843, allocations: 16.52 MB / 439.1 MB, free: 5.242 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.181312914006412]