Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.000976/0.000976, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001141/0.001141, allocations: 173.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9775/0.9775, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1618/0.1618, allocations: 34.27 MB / 296.9 MB, free: 13.89 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.162e-05, allocations: 6.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.006815/0.006827, allocations: 8.454 MB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.01372, allocations: 12.66 MB / 400.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.01375, allocations: 0 / 400.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.01393, allocations: 31.81 kB / 400.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.01715, allocations: 2.177 MB / 402.6 MB, free: 0 / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.01715, allocations: 0 / 402.6 MB, free: 0 / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.01725, allocations: 55.67 kB / 402.6 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.01728, allocations: 4 kB / 402.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.01739, allocations: 39.83 kB / 402.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.585e-05/0.01742, allocations: 19.92 kB / 402.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.01743, allocations: 4 kB / 402.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.02352, allocations: 5.894 MB / 408.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.02353, allocations: 3.938 kB / 408.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.02356, allocations: 11.94 kB / 408.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006509/0.03007, allocations: 5.068 MB / 413.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.03007, allocations: 0 / 413.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03007, allocations: 0 / 413.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.03008, allocations: 3.938 kB / 413.7 MB, free: 4.871 MB / 330.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.001704/0.03178, allocations: 0.6617 MB / 414.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.03182, allocations: 8.031 kB / 414.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.03193, allocations: 31.81 kB / 414.4 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.03201, allocations: 112 kB / 414.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.03202, allocations: 4 kB / 414.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.03203, allocations: 4 kB / 414.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.0322, allocations: 90.34 kB / 414.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.03221, allocations: 4 kB / 414.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.03222, allocations: 0 / 414.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.03222, allocations: 7.938 kB / 414.6 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.03231, allocations: 63.77 kB / 414.7 MB, free: 3.816 MB / 330.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.0003283/0.03264, allocations: 312.2 kB / 415 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.03275, allocations: 70.95 kB / 415.1 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.03277, allocations: 19.69 kB / 415.1 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.03412, allocations: 0.854 MB / 415.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.03415, allocations: 45.27 kB / 416 MB, free: 2.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.03415, allocations: 0 / 416 MB, free: 2.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002703/0.03442, allocations: 121.4 kB / 416.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.03444, allocations: 55.41 kB / 416.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.03451, allocations: 157.9 kB / 416.3 MB, free: 2.109 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.03452, allocations: 29.7 kB / 416.3 MB, free: 2.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.03456, allocations: 138.8 kB / 416.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.03458, allocations: 23.78 kB / 416.5 MB, free: 1.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.03461, allocations: 35.36 kB / 416.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.03472, allocations: 0.4884 MB / 417 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.03474, allocations: 15.98 kB / 417 MB, free: 1.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.03477, allocations: 31.36 kB / 417.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.03483, allocations: 55.23 kB / 417.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.03483, allocations: 0 / 417.1 MB, free: 1.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001151/0.03494, allocations: 85.61 kB / 417.2 MB, free: 1.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.03496, allocations: 8 kB / 417.2 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.03496, allocations: 3.938 kB / 417.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.03497, allocations: 0 / 417.2 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.03503, allocations: 15.98 kB / 417.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.03503, allocations: 4 kB / 417.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.03505, allocations: 3.953 kB / 417.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.03506, allocations: 4 kB / 417.2 MB, free: 1.121 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 7.084e-05/0.03513, allocations: 168.5 kB / 417.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.03516, allocations: 7.938 kB / 417.4 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.03537, allocations: 179.3 kB / 417.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.03537, allocations: 0 / 417.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.03537, allocations: 0 / 417.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.03538, allocations: 4 kB / 417.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.0355, allocations: 145.2 kB / 417.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0355, allocations: 0 / 417.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.03554, allocations: 19.98 kB / 417.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.03554, allocations: 0 / 417.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.03554, allocations: 4 kB / 417.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.03555, allocations: 7.938 kB / 417.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.03555, allocations: 0 / 417.8 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.0357, allocations: 267.6 kB / 418 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.03571, allocations: 7.953 kB / 418 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.03572, allocations: 4 kB / 418 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.03575, allocations: 11.94 kB / 418 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.03578, allocations: 11.97 kB / 418 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.03579, allocations: 4 kB / 418.1 MB, free: 240 kB / 330.7 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.03582, allocations: 119.4 kB / 418.2 MB, free: 120 kB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03582, allocations: 0 / 418.2 MB, free: 120 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001075/0.03689, allocations: 383 kB / 418.5 MB, free: 15.74 MB / 346.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.007811/0.0447, allocations: 3.653 MB / 422.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.04482, allocations: 63.59 kB / 422.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.04482, allocations: 0 / 422.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.04487, allocations: 47.66 kB / 422.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.04509, allocations: 28.06 kB / 422.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.04574, allocations: 262.2 kB / 422.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.04578, allocations: 67.2 kB / 422.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.04587, allocations: 47.83 kB / 422.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.04594, allocations: 90.19 kB / 422.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.04594, allocations: 0 / 422.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Templates: time 0.01745/0.06339, allocations: 18.59 MB / 441.4 MB, free: 8.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.9025149531662464]