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.0008685/0.0008685, allocations: 76.36 kB / 20.67 MB, free: 3.891 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.001455/0.001455, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 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 0.8952/0.8952, allocations: 177 MB / 204.1 MB, free: 5.75 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.2329/0.2329, allocations: 34.23 MB / 294.8 MB, free: 0.707 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.628e-05, allocations: 4.953 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.1952/0.1952, allocations: 8.044 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005731/0.201, allocations: 9.866 MB / 460.1 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.201, allocations: 0 / 460.1 MB, free: 34.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2012, allocations: 37.92 kB / 460.1 MB, free: 34.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.2051, allocations: 1.881 MB / 462 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.837e-06/0.2051, allocations: 8 kB / 462 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.2052, allocations: 46.05 kB / 462 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.2052, allocations: 3.156 kB / 462 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.2054, allocations: 41.81 kB / 462.1 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.668e-05/0.2054, allocations: 16.72 kB / 462.1 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2054, allocations: 0 / 462.1 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005686/0.2111, allocations: 6.593 MB / 468.7 MB, free: 32.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2111, allocations: 10.41 kB / 468.7 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.2111, allocations: 9.75 kB / 468.7 MB, free: 32.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.2184, allocations: 5.343 MB / 474 MB, free: 32.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2184, allocations: 3.281 kB / 474.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2184, allocations: 0 / 474.1 MB, free: 32.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2184, allocations: 0 / 474.1 MB, free: 32.04 MB / 410.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.002402/0.2208, allocations: 0.5032 MB / 474.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2208, allocations: 9.312 kB / 474.6 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.2209, allocations: 37.5 kB / 474.6 MB, free: 31.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.2209, allocations: 6.484 kB / 474.6 MB, free: 31.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.221, allocations: 108.3 kB / 474.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.221, allocations: 3.125 kB / 474.7 MB, free: 31.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.221, allocations: 11.31 kB / 474.7 MB, free: 31.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2211, allocations: 76.84 kB / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.2211, allocations: 0 / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.2212, allocations: 0.6562 kB / 474.8 MB, free: 31.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2212, allocations: 14.27 kB / 474.8 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.439e-05/0.2212, allocations: 73.08 kB / 474.9 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.2215, allocations: 280.7 kB / 475.2 MB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.126e-05/0.2216, allocations: 41.81 kB / 475.2 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.2216, allocations: 31.48 kB / 475.2 MB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.2231, allocations: 0.8126 MB / 476 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.2231, allocations: 31.94 kB / 476.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2231, allocations: 0 / 476.1 MB, free: 30.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002272/0.2234, allocations: 120.3 kB / 476.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2234, allocations: 51.41 kB / 476.2 MB, free: 30.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.2234, allocations: 98.92 kB / 476.3 MB, free: 30.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2234, allocations: 25.7 kB / 476.4 MB, free: 30.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.2235, allocations: 96.95 kB / 476.5 MB, free: 30.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.2235, allocations: 32.23 kB / 476.5 MB, free: 30.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2235, allocations: 23.91 kB / 476.5 MB, free: 30.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.2235, allocations: 312 kB / 476.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.2236, allocations: 22.25 kB / 476.8 MB, free: 30.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.2236, allocations: 43 kB / 476.9 MB, free: 30.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.468e-05/0.2237, allocations: 65.19 kB / 476.9 MB, free: 30.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2237, allocations: 0 / 476.9 MB, free: 30.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.2238, allocations: 100.3 kB / 477 MB, free: 29.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2238, allocations: 5.5 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2238, allocations: 1.062 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2238, allocations: 1.062 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.2239, allocations: 7.562 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2239, allocations: 3.031 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.2239, allocations: 7.766 kB / 477.1 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2239, allocations: 6.641 kB / 477.1 MB, free: 29.98 MB / 410.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.999e-05/0.224, allocations: 116.9 kB / 477.2 MB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.224, allocations: 6.219 kB / 477.2 MB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.2242, allocations: 160.5 kB / 477.4 MB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.435e-05/0.2243, allocations: 119 kB / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2243, allocations: 0 / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2243, allocations: 0 / 477.5 MB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.2246, allocations: 402.2 kB / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2246, allocations: 0 / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.2247, allocations: 16.06 kB / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2247, allocations: 1.094 kB / 477.9 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2247, allocations: 5.188 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2247, allocations: 4 kB / 477.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2247, allocations: 5.156 kB / 477.9 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2248, allocations: 220.8 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.2248, allocations: 5.453 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2248, allocations: 5.094 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.2249, allocations: 1.094 kB / 478.1 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.2249, allocations: 10.97 kB / 478.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2249, allocations: 10.09 kB / 478.1 MB, free: 29.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.2249, allocations: 78.41 kB / 478.2 MB, free: 29.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2249, allocations: 0 / 478.2 MB, free: 29.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002251/0.2272, allocations: 359.7 kB / 478.6 MB, free: 29 MB / 410.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.009662/0.2368, allocations: 4.807 MB / 483.4 MB, free: 26.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.237, allocations: 107.4 kB / 483.5 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.237, allocations: 1.125 kB / 483.5 MB, free: 26.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.2371, allocations: 40.06 kB / 483.5 MB, free: 26.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2374, allocations: 49.28 kB / 483.6 MB, free: 26.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.2389, allocations: 387.4 kB / 483.9 MB, free: 25.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.2389, allocations: 78.22 kB / 484 MB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.239, allocations: 21.06 kB / 484 MB, free: 25.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.239, allocations: 27.98 kB / 484.1 MB, free: 25.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.239, allocations: 0 / 484.1 MB, free: 25.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.2779, allocations: 20.98 MB / 0.4932 GB, free: 17.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.741, allocations: 0 / 0.4932 GB, free: 17.87 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.041770343668759]