Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.000831/0.000831, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002023, allocations: 457.8 kB / 10.45 MB, free: 240 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.0007634/0.0007634, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001783, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.8944/0.8944, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0851/0.9795, allocations: 53.86 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.2389/0.2389, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02186/0.2607, 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_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.807e-06/1.05e-05, allocations: 2.312 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01014/0.01015, allocations: 8.577 MB / 302.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009738/0.01989, allocations: 11.08 MB / 313.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.01992, allocations: 0 / 313.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.51e-05/0.02001, allocations: 31.81 kB / 313.8 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.02294, allocations: 1.78 MB / 315.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.549e-06/0.02294, allocations: 4 kB / 315.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.02302, allocations: 51.61 kB / 315.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.02305, allocations: 4 kB / 315.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.02317, allocations: 39.78 kB / 315.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.0232, allocations: 23.97 kB / 315.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.02321, allocations: 4 kB / 315.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007715/0.03092, allocations: 6.72 MB / 322.4 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.03094, allocations: 3.938 kB / 322.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.03096, allocations: 15.94 kB / 322.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006902/0.03786, allocations: 5.111 MB / 327.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.03787, allocations: 0 / 327.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.03788, allocations: 0 / 327.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.03788, allocations: 0 / 327.5 MB, free: 3.551 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.001672/0.03956, allocations: 1.295 MB / 328.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.03958, allocations: 8.922 kB / 328.8 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.03969, allocations: 23.92 kB / 328.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.03976, allocations: 117.1 kB / 329 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.03977, allocations: 4 kB / 329 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.03978, allocations: 4 kB / 329 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.03985, allocations: 52.5 kB / 329 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.03986, allocations: 0 / 329 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.03987, allocations: 4 kB / 329 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.03987, allocations: 7.938 kB / 329 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.0399, allocations: 27.98 kB / 329.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.04011, allocations: 205.8 kB / 329.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.04015, allocations: 26.58 kB / 329.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.04016, allocations: 20.91 kB / 329.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/0.04212, allocations: 1.198 MB / 330.5 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.04215, allocations: 30.56 kB / 330.6 MB, free: 428 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.04215, allocations: 0 / 330.6 MB, free: 428 kB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001733/0.04232, allocations: 78.78 kB / 330.6 MB, free: 344 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.04235, allocations: 51.41 kB / 330.7 MB, free: 280 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.04241, allocations: 110.7 kB / 330.8 MB, free: 156 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.04242, allocations: 29.7 kB / 330.8 MB, free: 120 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.04245, allocations: 88.09 kB / 330.9 MB, free: 28 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.04249, allocations: 31.78 kB / 330.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.04251, allocations: 17.66 kB / 330.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.04258, allocations: 318.8 kB / 331.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.0426, allocations: 11.98 kB / 331.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/0.04263, allocations: 17.72 kB / 331.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.04268, allocations: 54.5 kB / 331.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.04269, allocations: 4 kB / 331.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001156/0.0428, allocations: 69.56 kB / 331.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.04282, allocations: 11.92 kB / 331.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.04282, allocations: 0 / 331.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.04283, allocations: 0 / 331.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.04288, allocations: 8 kB / 331.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.04288, allocations: 4 kB / 331.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.0429, allocations: 4 kB / 331.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.04291, allocations: 4 kB / 331.4 MB, free: 15.45 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 (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.445e-05/0.04295, allocations: 105.8 kB / 331.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.04298, allocations: 15.95 kB / 331.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.04311, allocations: 146.9 kB / 331.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.04318, allocations: 84.16 kB / 331.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.04318, allocations: 0 / 331.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.04318, allocations: 0 / 331.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.04343, allocations: 318.4 kB / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.04343, allocations: 3.938 kB / 332.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.04347, allocations: 16 kB / 332.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.04347, allocations: 7.953 kB / 332.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.04347, allocations: 4 kB / 332.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.04348, allocations: 7.984 kB / 332.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.04348, allocations: 0 / 332.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.04348, allocations: 0 / 332.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.04358, allocations: 238.1 kB / 332.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.04359, allocations: 4.25 kB / 332.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.04362, allocations: 4 kB / 332.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.04363, allocations: 3.984 kB / 332.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.04364, allocations: 8 kB / 332.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.033e-06/0.04364, allocations: 4.859 kB / 332.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.04364, allocations: 4 kB / 332.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00083/0.04447, allocations: 366.9 kB / 332.8 MB, free: 14.07 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: 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.007834/0.05231, allocations: 4.171 MB / 336.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.05267, allocations: 91 kB / 337 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.05267, allocations: 0 / 337 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.0527, allocations: 36.84 kB / 337.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.05291, allocations: 80.69 kB / 337.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.05451, allocations: 221.4 kB / 337.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.05454, allocations: 67.34 kB / 337.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.05457, allocations: 9.781 kB / 337.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.05464, allocations: 83.34 kB / 337.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05465, allocations: 0 / 337.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of Templates: time 0.01716/0.07181, allocations: 19.97 MB / 357.5 MB, free: 5.312 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.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.580937111750245]