Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0008183/0.0008183, allocations: 79.7 kB / 21.43 MB, free: 3.129 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.004028/0.004028, allocations: 167.7 kB / 24.7 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8137/0.8137, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 3.984 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.711e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00146/0.001477, allocations: 1.326 MB / 299.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1301/0.1316, allocations: 10.67 MB / 310.4 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.1316, allocations: 5.031 kB / 310.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.1317, allocations: 5.953 kB / 310.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.1335, allocations: 1.04 MB / 311.5 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.1345, allocations: 0.6585 MB / 312.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.1346, allocations: 61.16 kB / 312.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.479e-05/0.1346, allocations: 6.781 kB / 312.2 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.1346, allocations: 37.56 kB / 312.3 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.1347, allocations: 31.92 kB / 312.3 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1347, allocations: 3.531 kB / 312.3 MB, free: 8.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.1363, allocations: 1.49 MB / 313.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1363, allocations: 13.08 kB / 313.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1363, allocations: 19.25 kB / 313.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1374, allocations: 1.236 MB / 315 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1374, allocations: 0 / 315 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1374, allocations: 4 kB / 315 MB, free: 7.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1374, allocations: 1.344 kB / 315.1 MB, free: 7.359 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000465/0.1379, allocations: 480.2 kB / 315.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1379, allocations: 14.89 kB / 315.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.138, allocations: 36.78 kB / 315.6 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.138, allocations: 12.59 kB / 315.6 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.777e-05/0.1381, allocations: 132.4 kB / 315.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1381, allocations: 1.75 kB / 315.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1381, allocations: 3.125 kB / 315.7 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.1383, allocations: 117.4 kB / 315.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1383, allocations: 4.375 kB / 315.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1383, allocations: 5.312 kB / 315.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1383, allocations: 0 / 315.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.1384, allocations: 26.8 kB / 315.9 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.1385, allocations: 139.4 kB / 316 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1386, allocations: 75.83 kB / 316.1 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.1387, allocations: 24.73 kB / 316.1 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002774/0.1415, allocations: 1.506 MB / 317.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.1415, allocations: 32.94 kB / 317.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1415, allocations: 1.156 kB / 317.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001924/0.1417, allocations: 87.89 kB / 317.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.1417, allocations: 79.33 kB / 317.8 MB, free: 5.984 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.1417, allocations: 114.3 kB / 317.9 MB, free: 5.879 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.1417, allocations: 29.7 kB / 317.9 MB, free: 5.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.1417, allocations: 88.77 kB / 318 MB, free: 5.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1418, allocations: 14.5 kB / 318 MB, free: 5.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1418, allocations: 22.25 kB / 318.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.395e-05/0.1418, allocations: 316.3 kB / 318.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.1418, allocations: 11.14 kB / 318.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.1419, allocations: 24.58 kB / 318.4 MB, free: 5.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.1419, allocations: 44.95 kB / 318.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1419, allocations: 0.625 kB / 318.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.69e-05/0.142, allocations: 74.36 kB / 318.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.142, allocations: 10.31 kB / 318.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.142, allocations: 0 / 318.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1421, allocations: 5 kB / 318.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.52e-05/0.1421, allocations: 17.42 kB / 318.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1421, allocations: 8.062 kB / 318.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.1421, allocations: 2.5 kB / 318.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1421, allocations: 2.125 kB / 318.6 MB, free: 5.301 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 3.394e-05/0.1422, allocations: 108 kB / 318.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.1422, allocations: 15.23 kB / 318.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1423, allocations: 103.6 kB / 318.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1423, allocations: 5.094 kB / 318.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1423, allocations: 0 / 318.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1423, allocations: 2.344 kB / 318.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.51e-05/0.1424, allocations: 141.5 kB / 318.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1424, allocations: 2.781 kB / 318.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.1424, allocations: 11.44 kB / 319 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1424, allocations: 5.031 kB / 319 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1424, allocations: 2.125 kB / 319 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1424, allocations: 5.062 kB / 319 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1424, allocations: 0 / 319 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.398e-05/0.1425, allocations: 104.9 kB / 319.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.1425, allocations: 7.312 kB / 319.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.1426, allocations: 2.312 kB / 319.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1426, allocations: 11.62 kB / 319.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.1426, allocations: 5.5 kB / 319.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1426, allocations: 4.156 kB / 319.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.392e-05/0.1426, allocations: 97.59 kB / 319.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1426, allocations: 0 / 319.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004336/0.1431, allocations: 329.4 kB / 319.5 MB, free: 4.668 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008602/0.1439, allocations: 1.156 MB / 320.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.144, allocations: 34.97 kB / 320.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.144, allocations: 4 kB / 320.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-05/0.1441, allocations: 23.91 kB / 320.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1442, allocations: 10.39 kB / 320.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.1451, allocations: 1.452 MB / 322.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.1451, allocations: 69.97 kB / 322.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.1452, allocations: 49.69 kB / 322.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1452, allocations: 28.84 kB / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1452, allocations: 96 / 322.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.1661, allocations: 11.36 MB / 333.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.192, allocations: 4 kB / 333.7 MB, free: 11.11 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_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.657977654598653]