Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00084/0.00084, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008754/0.0008754, allocations: 174.3 kB / 23.95 MB, free: 0.6133 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.8917/0.8917, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.2375/0.2375, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.212e-05, allocations: 4.25 kB / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.177/0.177, allocations: 8.032 MB / 450.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006035/0.183, allocations: 9.876 MB / 460.1 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1831, allocations: 0 / 460.1 MB, free: 34.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.1833, allocations: 34.2 kB / 460.1 MB, free: 34.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.1868, allocations: 1.879 MB / 462 MB, free: 33.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.47e-06/0.1868, allocations: 3.938 kB / 462 MB, free: 33.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.1869, allocations: 49.88 kB / 462 MB, free: 33.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.187, allocations: 3.125 kB / 462 MB, free: 33.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1871, allocations: 42.25 kB / 462.1 MB, free: 33.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.774e-05/0.1871, allocations: 17.06 kB / 462.1 MB, free: 33.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1871, allocations: 0 / 462.1 MB, free: 33.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006262/0.1934, allocations: 6.595 MB / 468.7 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1934, allocations: 3.281 kB / 468.7 MB, free: 32.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1935, allocations: 20.86 kB / 468.7 MB, free: 32.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.2001, allocations: 5.336 MB / 474 MB, free: 32.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2001, allocations: 0 / 474 MB, free: 32.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2002, allocations: 0 / 474 MB, free: 32.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2002, allocations: 0 / 474 MB, free: 32.23 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.002043/0.2022, allocations: 0.5005 MB / 474.5 MB, free: 31.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2022, allocations: 8.656 kB / 474.6 MB, free: 31.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.49e-05/0.2023, allocations: 41.02 kB / 474.6 MB, free: 31.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.2023, allocations: 13.36 kB / 474.6 MB, free: 31.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.039e-05/0.2024, allocations: 116.1 kB / 474.7 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2024, allocations: 0.6562 kB / 474.7 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2024, allocations: 3.125 kB / 474.7 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2026, allocations: 80.7 kB / 474.8 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2026, allocations: 0 / 474.8 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.2026, allocations: 0 / 474.8 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2026, allocations: 10.88 kB / 474.8 MB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.2026, allocations: 76.11 kB / 474.9 MB, free: 31.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.203, allocations: 281.8 kB / 475.2 MB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.383e-05/0.203, allocations: 49.31 kB / 475.2 MB, free: 31.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.2031, allocations: 30.22 kB / 475.2 MB, free: 31.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.2047, allocations: 0.811 MB / 476.1 MB, free: 31.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2047, allocations: 34.91 kB / 476.1 MB, free: 31.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2047, allocations: 0 / 476.1 MB, free: 31.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002458/0.2049, allocations: 120.3 kB / 476.2 MB, free: 30.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.205, allocations: 52.78 kB / 476.3 MB, free: 30.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.466e-05/0.205, allocations: 100.8 kB / 476.4 MB, free: 30.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.205, allocations: 25.7 kB / 476.4 MB, free: 30.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.205, allocations: 90.66 kB / 476.5 MB, free: 30.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.205, allocations: 30.89 kB / 476.5 MB, free: 30.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.2051, allocations: 21.25 kB / 476.5 MB, free: 30.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.017e-05/0.2051, allocations: 319.5 kB / 476.8 MB, free: 30.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.2051, allocations: 19.47 kB / 476.8 MB, free: 30.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.2052, allocations: 32.86 kB / 476.9 MB, free: 30.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.952e-05/0.2052, allocations: 77.41 kB / 477 MB, free: 30.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2052, allocations: 1.312 kB / 477 MB, free: 30.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001032/0.2053, allocations: 88.81 kB / 477 MB, free: 30.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2054, allocations: 5.844 kB / 477.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.2054, allocations: 0 / 477.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2054, allocations: 1.438 kB / 477.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.2054, allocations: 15.08 kB / 477.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2054, allocations: 0 / 477.1 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.2055, allocations: 9.297 kB / 477.1 MB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.2055, allocations: 4.031 kB / 477.1 MB, free: 30.16 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.104e-05/0.2055, allocations: 124.7 kB / 477.2 MB, free: 30.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.2055, allocations: 1.469 kB / 477.2 MB, free: 30.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.2057, allocations: 154.5 kB / 477.4 MB, free: 29.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-05/0.2058, allocations: 119.2 kB / 477.5 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2058, allocations: 1.125 kB / 477.5 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2058, allocations: 0 / 477.5 MB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.2061, allocations: 405.1 kB / 477.9 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2061, allocations: 1.219 kB / 477.9 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.2061, allocations: 16.25 kB / 477.9 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2061, allocations: 192 / 477.9 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2062, allocations: 5.188 kB / 477.9 MB, free: 29.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2062, allocations: 4.906 kB / 477.9 MB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2062, allocations: 3.938 kB / 477.9 MB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2063, allocations: 226 kB / 478.1 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.2063, allocations: 11.31 kB / 478.1 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2063, allocations: 0 / 478.1 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.2063, allocations: 5.219 kB / 478.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.2064, allocations: 10.72 kB / 478.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2064, allocations: 2.156 kB / 478.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.345e-05/0.2064, allocations: 85.95 kB / 478.2 MB, free: 29.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2064, allocations: 0 / 478.2 MB, free: 29.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001692/0.2081, allocations: 362.8 kB / 478.6 MB, free: 29.18 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.01071/0.2188, allocations: 4.788 MB / 483.4 MB, free: 26.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.219, allocations: 111.2 kB / 483.5 MB, free: 26.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.219, allocations: 0 / 483.5 MB, free: 26.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.2191, allocations: 49.39 kB / 483.5 MB, free: 26.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2194, allocations: 47.03 kB / 483.6 MB, free: 26.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2212, allocations: 385 kB / 484 MB, free: 26.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.407e-05/0.2213, allocations: 82.78 kB / 484 MB, free: 25.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.2213, allocations: 21.41 kB / 484.1 MB, free: 25.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.2214, allocations: 27.66 kB / 484.1 MB, free: 25.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2214, allocations: 1.125 kB / 484.1 MB, free: 25.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03876/0.2602, allocations: 20.96 MB / 0.4932 GB, free: 18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.733, allocations: 9.766 kB / 0.4932 GB, free: 18 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 9.981906498782337]