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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: 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_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_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 107.2 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001453, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07904/0.08023, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002407/0.08267, allocations: 1.356 MB / 330.1 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.09446, allocations: 12.08 MB / 342.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.09453, allocations: 3.938 kB / 342.2 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.0946, allocations: 3.984 kB / 342.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.09711, allocations: 1.045 MB / 343.2 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.09845, allocations: 0.6334 MB / 343.8 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.09857, allocations: 59.78 kB / 343.9 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.09862, allocations: 4 kB / 343.9 MB, free: 4.477 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.09868, allocations: 31.84 kB / 343.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.09878, allocations: 35.89 kB / 344 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.0988, allocations: 4 kB / 344 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.1016, allocations: 1.608 MB / 345.6 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.1016, allocations: 19.86 kB / 345.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.1016, allocations: 23.86 kB / 345.6 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1032, allocations: 1.072 MB / 346.7 MB, free: 1.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1032, allocations: 4 kB / 346.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1032, allocations: 0 / 346.7 MB, free: 1.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1032, allocations: 0 / 346.7 MB, free: 1.676 MB / 286.1 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.0006399/0.1039, allocations: 0.538 MB / 347.2 MB, free: 1.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1039, allocations: 15.97 kB / 347.2 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.104, allocations: 4.938 kB / 347.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1042, allocations: 184.2 kB / 347.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1042, allocations: 384 / 347.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1042, allocations: 8.375 kB / 347.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1044, allocations: 71.45 kB / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1044, allocations: 0 / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1044, allocations: 0 / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1044, allocations: 0 / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.1046, allocations: 27.97 kB / 347.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.1048, allocations: 174.6 kB / 347.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.105, allocations: 85.12 kB / 347.8 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.12e-05/0.1051, allocations: 21.78 kB / 347.8 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006279/0.1114, allocations: 3.29 MB / 351.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1114, allocations: 38.5 kB / 351.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1115, allocations: 0 / 351.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003522/0.1118, allocations: 93.5 kB / 351.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1119, allocations: 81.05 kB / 351.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.112, allocations: 113.8 kB / 351.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.112, allocations: 29.7 kB / 351.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.1121, allocations: 84.14 kB / 351.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1121, allocations: 19.73 kB / 351.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1122, allocations: 21.72 kB / 351.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1123, allocations: 314.8 kB / 351.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.965e-05/0.1124, allocations: 19.98 kB / 351.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.1125, allocations: 21.7 kB / 351.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1126, allocations: 37.7 kB / 352 MB, free: 11.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1126, allocations: 3.938 kB / 352 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000183/0.1128, allocations: 77.45 kB / 352 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1128, allocations: 12 kB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1128, allocations: 0 / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1128, allocations: 0 / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.1129, allocations: 8 kB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1129, allocations: 7.984 kB / 352.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.113, allocations: 0 / 352.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.113, allocations: 4 kB / 352.1 MB, free: 11.59 MB / 302.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: 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 7.721e-05/0.1131, allocations: 117.7 kB / 352.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1131, allocations: 11.84 kB / 352.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.1134, allocations: 110.2 kB / 352.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1134, allocations: 96 / 352.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1134, allocations: 3.984 kB / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1134, allocations: 0 / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.1136, allocations: 165.7 kB / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1136, allocations: 0 / 352.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1136, allocations: 23.86 kB / 352.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1137, allocations: 0 / 352.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1137, allocations: 8 kB / 352.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1137, allocations: 0 / 352.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1137, allocations: 0 / 352.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.1139, allocations: 97.88 kB / 352.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1139, allocations: 96.97 kB / 352.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.114, allocations: 4 kB / 352.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.114, allocations: 192 / 352.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1141, allocations: 11.98 kB / 352.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1141, allocations: 8 kB / 352.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.984e-05/0.1142, allocations: 91.27 kB / 352.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1142, allocations: 0 / 352.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007346/0.1149, allocations: 319.7 kB / 353.1 MB, free: 10.45 MB / 302.1 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.001013/0.1159, allocations: 0.5804 MB / 353.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1161, allocations: 35.97 kB / 353.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1161, allocations: 0 / 353.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.1162, allocations: 23.92 kB / 353.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.1164, allocations: 19.94 kB / 353.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.1168, allocations: 159.8 kB / 353.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1171, allocations: 0.6846 MB / 354.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1172, allocations: 44.17 kB / 354.7 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.1172, allocations: 27.36 kB / 354.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1172, allocations: 0 / 354.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of Templates: time 0.01262/0.1299, allocations: 8.98 MB / 363.7 MB, free: 15.81 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/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) Reference file matches