Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0009193/0.0009193, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.00222, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008946/0.0008946, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.002031, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9697/0.9697, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09536/1.065, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02052/0.2507, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.426e-05, allocations: 5.422 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01287/0.01288, allocations: 8.548 MB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008766/0.02165, allocations: 11.06 MB / 310.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.02168, allocations: 0 / 310.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.02178, allocations: 31.81 kB / 310.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.02555, allocations: 1.773 MB / 312 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.02555, allocations: 4 kB / 312 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.02562, allocations: 47.67 kB / 312 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.02566, allocations: 7.984 kB / 312.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.02576, allocations: 39.78 kB / 312.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.426e-05/0.02578, allocations: 8 kB / 312.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.066e-06/0.02579, allocations: 0 / 312.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005733/0.03152, allocations: 6.728 MB / 318.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.03153, allocations: 7.938 kB / 318.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.03156, allocations: 8 kB / 318.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.03684, allocations: 5.119 MB / 324 MB, free: 6.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-05/0.03685, allocations: 11.98 kB / 324 MB, free: 6.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03686, allocations: 0 / 324 MB, free: 6.828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.03687, allocations: 0 / 324 MB, free: 6.828 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.001635/0.0385, allocations: 1.271 MB / 325.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.03853, allocations: 12.03 kB / 325.3 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.03865, allocations: 31.86 kB / 325.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.698e-05/0.03871, allocations: 105.2 kB / 325.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.03872, allocations: 7.938 kB / 325.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.03873, allocations: 0 / 325.4 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.03882, allocations: 52.52 kB / 325.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.03882, allocations: 0 / 325.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.03883, allocations: 4 kB / 325.5 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.03884, allocations: 7.922 kB / 325.5 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.03887, allocations: 32.62 kB / 325.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.03936, allocations: 201.8 kB / 325.7 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.665e-05/0.03942, allocations: 30.58 kB / 325.7 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.03943, allocations: 12.86 kB / 325.7 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.04106, allocations: 1.202 MB / 326.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.04108, allocations: 38.56 kB / 327 MB, free: 3.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.04108, allocations: 4 kB / 327 MB, free: 3.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001272/0.04121, allocations: 69.56 kB / 327 MB, free: 3.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.04123, allocations: 55.41 kB / 327.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.04128, allocations: 98.72 kB / 327.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.04129, allocations: 25.7 kB / 327.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.04132, allocations: 96.02 kB / 327.3 MB, free: 3.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.04134, allocations: 27.73 kB / 327.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.04136, allocations: 21.7 kB / 327.4 MB, free: 3.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.04143, allocations: 314.8 kB / 327.7 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.04144, allocations: 8 kB / 327.7 MB, free: 2.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.04146, allocations: 33.83 kB / 327.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.0415, allocations: 45.62 kB / 327.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0415, allocations: 0 / 327.8 MB, free: 2.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.415e-05/0.04156, allocations: 61.62 kB / 327.8 MB, free: 2.789 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.04157, allocations: 7.938 kB / 327.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.04158, allocations: 4 kB / 327.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.04159, allocations: 0 / 327.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.04163, allocations: 12 kB / 327.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.04163, allocations: 0 / 327.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.04165, allocations: 11.94 kB / 327.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.04166, allocations: 4.031 kB / 327.9 MB, free: 2.75 MB / 314.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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 4.759e-05/0.0417, allocations: 113.8 kB / 328 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.04173, allocations: 15.88 kB / 328 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.04184, allocations: 138.8 kB / 328.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.04188, allocations: 73.92 kB / 328.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.04188, allocations: 0 / 328.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.04188, allocations: 4 kB / 328.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.04209, allocations: 329.1 kB / 328.5 MB, free: 2.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.0421, allocations: 4 kB / 328.5 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.04213, allocations: 12 kB / 328.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.04214, allocations: 15.88 kB / 328.5 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.04214, allocations: 0 / 328.5 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.04214, allocations: 4 kB / 328.6 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.04214, allocations: 4 kB / 328.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.04214, allocations: 0 / 328.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.889e-05/0.04224, allocations: 230.1 kB / 328.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.04225, allocations: 0 / 328.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.04228, allocations: 0 / 328.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.04229, allocations: 7.984 kB / 328.8 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.0423, allocations: 8 kB / 328.8 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.38e-06/0.0423, allocations: 4.859 kB / 328.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0423, allocations: 0 / 328.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.04304, allocations: 362.9 kB / 329.2 MB, free: 1.391 MB / 314.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.008344/0.05138, allocations: 4.172 MB / 333.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.0515, allocations: 92.09 kB / 333.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.05151, allocations: 4 kB / 333.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/0.05153, allocations: 32.78 kB / 333.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.05173, allocations: 57.03 kB / 333.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.05306, allocations: 213.5 kB / 333.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.0531, allocations: 63.94 kB / 333.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.05314, allocations: 16.11 kB / 333.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.172e-05/0.05322, allocations: 75.36 kB / 333.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.05322, allocations: 0 / 333.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Templates: time 0.01772/0.07094, allocations: 20.45 MB / 354.3 MB, free: 8.164 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.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.6851546680554748]