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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 116.7 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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.2157/0.2157, allocations: 44.92 MB / 349.6 MB, free: 1.707 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.34 kB / 491.8 MB, free: 30.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 64.27 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01148/0.1202, allocations: 8.358 MB / 0.5511 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.1325, allocations: 11.14 MB / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.1325, allocations: 0 / 0.562 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1327, allocations: 35.8 kB / 0.5621 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.1374, allocations: 1.825 MB / 0.5638 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.791e-06/0.1374, allocations: 0 / 0.5638 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.1375, allocations: 43.67 kB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1375, allocations: 7.984 kB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1376, allocations: 23.92 kB / 0.5639 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.1377, allocations: 15.92 kB / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.1377, allocations: 3.938 kB / 0.5639 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009432/0.1471, allocations: 6.678 MB / 0.5705 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1471, allocations: 0 / 0.5705 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1472, allocations: 15.94 kB / 0.5705 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.1578, allocations: 4.624 MB / 0.575 GB, free: 3.238 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1578, allocations: 4 kB / 0.575 GB, free: 3.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1578, allocations: 0 / 0.575 GB, free: 3.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1578, allocations: 0 / 0.575 GB, free: 3.234 MB / 430.1 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.002619/0.1604, allocations: 0.5673 MB / 0.5755 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.1604, allocations: 8.031 kB / 0.5756 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1605, allocations: 34.56 kB / 0.5756 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1606, allocations: 15.94 kB / 0.5756 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1607, allocations: 167 kB / 0.5758 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1607, allocations: 3.938 kB / 0.5758 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1607, allocations: 8 kB / 0.5758 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1609, allocations: 77.61 kB / 0.5758 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1609, allocations: 0 / 0.5758 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1609, allocations: 4 kB / 0.5758 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.1609, allocations: 0 / 0.5758 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1611, allocations: 71.97 kB / 0.5759 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.1616, allocations: 324.8 kB / 0.5762 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.598e-05/0.1616, allocations: 38.5 kB / 0.5763 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.1617, allocations: 24.92 kB / 0.5763 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003128/0.1648, allocations: 1.708 MB / 0.578 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1648, allocations: 30.56 kB / 0.578 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1648, allocations: 0 / 0.578 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003055/0.1651, allocations: 109.7 kB / 0.5781 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1652, allocations: 55.41 kB / 0.5781 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.1653, allocations: 93.86 kB / 0.5782 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1653, allocations: 25.7 kB / 0.5783 GB, free: 15.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.1653, allocations: 92.03 kB / 0.5783 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1654, allocations: 31.73 kB / 0.5784 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1654, allocations: 17.72 kB / 0.5784 GB, free: 15.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1656, allocations: 326.8 kB / 0.5787 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.1656, allocations: 16.28 kB / 0.5787 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.1656, allocations: 37.77 kB / 0.5788 GB, free: 14.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.63e-05/0.1657, allocations: 69.66 kB / 0.5788 GB, free: 14.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1657, allocations: 0 / 0.5788 GB, free: 14.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.1659, allocations: 93.61 kB / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1659, allocations: 4 kB / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1659, allocations: 0 / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.166, allocations: 0 / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.166, allocations: 12 kB / 0.5789 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.166, allocations: 7.938 kB / 0.5789 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.1661, allocations: 7.984 kB / 0.5789 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1661, allocations: 4 kB / 0.5789 GB, free: 14.7 MB / 446.1 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 9.381e-05/0.1662, allocations: 121.7 kB / 0.5791 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.1662, allocations: 7.984 kB / 0.5791 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.1665, allocations: 152.9 kB / 0.5792 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001631/0.1666, allocations: 113.6 kB / 0.5793 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1666, allocations: 256 / 0.5793 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1667, allocations: 0 / 0.5793 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.1672, allocations: 446.2 kB / 0.5797 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1672, allocations: 0 / 0.5797 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.293e-05/0.1672, allocations: 12 kB / 0.5798 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1672, allocations: 7.922 kB / 0.5798 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1672, allocations: 4 kB / 0.5798 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1672, allocations: 0 / 0.5798 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1672, allocations: 0 / 0.5798 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1675, allocations: 231.4 kB / 0.58 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1675, allocations: 77.11 kB / 0.5801 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1676, allocations: 11.94 kB / 0.5801 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.1676, allocations: 0 / 0.5801 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1676, allocations: 7.984 kB / 0.5801 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1676, allocations: 4 kB / 0.5801 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.1677, allocations: 75.28 kB / 0.5802 GB, free: 13.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1677, allocations: 288 / 0.5802 GB, free: 13.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001852/0.1695, allocations: 351 kB / 0.5805 GB, free: 13 MB / 446.1 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.01217/0.1817, allocations: 4.372 MB / 0.5848 GB, free: 8.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.182, allocations: 108.7 kB / 0.5849 GB, free: 8.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.182, allocations: 4 kB / 0.5849 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.182, allocations: 47.98 kB / 0.5849 GB, free: 8.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.1825, allocations: 40.34 kB / 0.585 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.184, allocations: 385.3 kB / 0.5853 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1843, allocations: 0.6963 MB / 0.586 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.1844, allocations: 11.98 kB / 0.586 GB, free: 7.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.1844, allocations: 23.44 kB / 0.586 GB, free: 7.215 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1844, allocations: 3.938 kB / 0.586 GB, free: 7.211 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.2303, allocations: 19.74 MB / 0.6053 GB, free: 3.531 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/9.155, allocations: 9.594 kB / 0.6053 GB, free: 3.527 MB / 462.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 12.966119037009776]