Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00299/0.002995, allocations: 184.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.438/3.438, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 85.3 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 8 kB / 327 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3718, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002224/0.3741, allocations: 1.035 MB / 375.6 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0216/0.3958, allocations: 10.13 MB / 385.7 MB, free: 36.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.3959, allocations: 5.531 kB / 385.7 MB, free: 36.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.396, allocations: 7.922 kB / 385.7 MB, free: 36.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.4014, allocations: 0.842 MB / 386.6 MB, free: 35.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4045, allocations: 495.7 kB / 387 MB, free: 35.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.4047, allocations: 50.23 kB / 387.1 MB, free: 35.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.4048, allocations: 6.25 kB / 387.1 MB, free: 35.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.4049, allocations: 28.06 kB / 387.1 MB, free: 35.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.405, allocations: 27.78 kB / 387.1 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4051, allocations: 3.594 kB / 387.1 MB, free: 35.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007447/0.4125, allocations: 1.501 MB / 388.6 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.4127, allocations: 8 kB / 388.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.4127, allocations: 37.64 kB / 388.7 MB, free: 34.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.4156, allocations: 0.6714 MB / 389.4 MB, free: 33.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4157, allocations: 0 / 389.4 MB, free: 33.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4157, allocations: 0 / 389.4 MB, free: 33.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4158, allocations: 0 / 389.4 MB, free: 33.98 MB / 298.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.001203/0.417, allocations: 0.53 MB / 389.9 MB, free: 33.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.4171, allocations: 12.03 kB / 389.9 MB, free: 33.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.4173, allocations: 7.906 kB / 389.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.4175, allocations: 175 kB / 390.1 MB, free: 33.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.4175, allocations: 4 kB / 390.1 MB, free: 33.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.4176, allocations: 7.938 kB / 390.1 MB, free: 33.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.4179, allocations: 75.33 kB / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4179, allocations: 0 / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.4179, allocations: 0 / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-06/0.418, allocations: 0 / 390.2 MB, free: 33.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.4183, allocations: 27.91 kB / 390.2 MB, free: 33.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.4186, allocations: 182.6 kB / 390.4 MB, free: 32.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.4192, allocations: 77.2 kB / 390.5 MB, free: 32.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/0.4329, allocations: 3.278 MB / 393.7 MB, free: 29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.433, allocations: 34.56 kB / 393.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 5.29e-06/0.433, allocations: 0 / 393.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006448/0.4337, allocations: 77.52 kB / 393.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.4338, allocations: 81.11 kB / 393.9 MB, free: 28.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4339, allocations: 113.8 kB / 394 MB, free: 28.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.434, allocations: 29.7 kB / 394.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.434, allocations: 158.5 kB / 394.2 MB, free: 28.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.4341, allocations: 23.64 kB / 394.2 MB, free: 28.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.4341, allocations: 0 / 394.2 MB, free: 28.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.4342, allocations: 314.8 kB / 394.5 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4344, allocations: 11.98 kB / 394.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4345, allocations: 21.72 kB / 394.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4347, allocations: 19.98 kB / 394.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4347, allocations: 0 / 394.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003881/0.4351, allocations: 69.56 kB / 394.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4352, allocations: 4 kB / 394.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4352, allocations: 0 / 394.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.4352, allocations: 4 kB / 394.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4354, allocations: 15.92 kB / 394.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4355, allocations: 0 / 394.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.4356, allocations: 4 kB / 394.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4357, allocations: 8 kB / 394.7 MB, free: 27.96 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.4358, allocations: 109.8 kB / 394.8 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.4358, allocations: 11.86 kB / 394.8 MB, free: 27.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005675/0.4364, allocations: 105.7 kB / 394.9 MB, free: 27.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4365, allocations: 4 kB / 394.9 MB, free: 27.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4365, allocations: 4 kB / 394.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.4365, allocations: 0 / 394.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.4367, allocations: 174.1 kB / 395.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4367, allocations: 0 / 395.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.4369, allocations: 11.98 kB / 395.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.4369, allocations: 7.953 kB / 395.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.437, allocations: 0 / 395.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.437, allocations: 0 / 395.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.437, allocations: 0 / 395.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.4374, allocations: 123.5 kB / 395.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.4375, allocations: 93.05 kB / 395.3 MB, free: 27.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.4376, allocations: 4.172 kB / 395.3 MB, free: 27.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4378, allocations: 11.94 kB / 395.3 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.4379, allocations: 7.984 kB / 395.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.4379, allocations: 8 kB / 395.4 MB, free: 27.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.438, allocations: 87.28 kB / 395.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.438, allocations: 0 / 395.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001652/0.4397, allocations: 319.6 kB / 395.8 MB, free: 26.79 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/0.4424, allocations: 0.557 MB / 396.3 MB, free: 26.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.4429, allocations: 43.91 kB / 396.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.4429, allocations: 0 / 396.4 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.4431, allocations: 19.98 kB / 396.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4435, allocations: 13.03 kB / 396.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.4442, allocations: 219 kB / 396.6 MB, free: 25.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4444, allocations: 0.6887 MB / 397.3 MB, free: 25.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.4446, allocations: 19.42 kB / 397.3 MB, free: 25.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.176e-06/0.4446, allocations: 0 / 397.3 MB, free: 25.16 MB / 298.7 MB Notification: Performance of Templates: time 0.02172/0.4663, allocations: 6.562 MB / 403.9 MB, free: 18.59 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches