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.000979/0.0009794, allocations: 98.17 kB / 16.94 MB, free: 5.98 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.001034/0.001034, allocations: 182.2 kB / 17.83 MB, free: 5.652 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.329/1.329, allocations: 205.4 MB / 224 MB, free: 13.03 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.0004937/0.0004942, allocations: 16 kB / 280.7 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08543, allocations: 47.58 MB / 328.3 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001241/0.0867, allocations: 1.031 MB / 329.4 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.09833, allocations: 10.14 MB / 339.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.09843, allocations: 0 / 339.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.09847, allocations: 3.938 kB / 339.5 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.1017, allocations: 0.8451 MB / 340.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1035, allocations: 0.4946 MB / 340.8 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.1036, allocations: 43.92 kB / 340.9 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.1036, allocations: 0 / 340.9 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.1037, allocations: 31.91 kB / 340.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.1038, allocations: 35.89 kB / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1038, allocations: 0 / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.1072, allocations: 1.502 MB / 342.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.1072, allocations: 7.984 kB / 342.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.1073, allocations: 37.64 kB / 342.5 MB, free: 5.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1086, allocations: 0.6668 MB / 343.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1086, allocations: 0 / 343.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1086, allocations: 4 kB / 343.2 MB, free: 5.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1087, allocations: 0 / 343.2 MB, free: 5.164 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.0007641/0.1094, allocations: 0.5223 MB / 343.7 MB, free: 4.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1095, allocations: 11.97 kB / 343.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1096, allocations: 19.91 kB / 343.7 MB, free: 4.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1098, allocations: 175 kB / 343.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1098, allocations: 11.94 kB / 343.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.1098, allocations: 0 / 343.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.11, allocations: 63.33 kB / 344 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.11, allocations: 0 / 344 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.11, allocations: 8 kB / 344 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.11, allocations: 0 / 344 MB, free: 4.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1102, allocations: 19.98 kB / 344 MB, free: 4.238 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.1104, allocations: 186.4 kB / 344.2 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1106, allocations: 81.22 kB / 344.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006385/0.117, allocations: 3.27 MB / 347.5 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1171, allocations: 30.56 kB / 347.6 MB, free: 156 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.1171, allocations: 0 / 347.6 MB, free: 156 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003186/0.1174, allocations: 81.59 kB / 347.6 MB, free: 68 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.1175, allocations: 89.05 kB / 347.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1176, allocations: 113.8 kB / 347.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1177, allocations: 25.7 kB / 347.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.1177, allocations: 84.14 kB / 347.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.1177, allocations: 19.7 kB / 348 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.1178, allocations: 0 / 348 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1179, allocations: 314.8 kB / 348.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.1179, allocations: 11.98 kB / 348.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.118, allocations: 29.7 kB / 348.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.1181, allocations: 12 kB / 348.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1181, allocations: 0 / 348.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001883/0.1183, allocations: 81.91 kB / 348.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1183, allocations: 4 kB / 348.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1183, allocations: 4 kB / 348.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1183, allocations: 0 / 348.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.1184, allocations: 12.11 kB / 348.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1184, allocations: 8 kB / 348.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.286e-05/0.1185, allocations: 11.84 kB / 348.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1185, allocations: 0 / 348.4 MB, free: 15.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/0.1186, allocations: 113.8 kB / 348.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1186, allocations: 7.953 kB / 348.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1189, allocations: 101.4 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1189, allocations: 4 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1189, allocations: 0 / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1189, allocations: 0 / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1191, allocations: 169.6 kB / 348.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1191, allocations: 3.984 kB / 348.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.1191, allocations: 12 kB / 348.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1192, allocations: 3.953 kB / 348.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1192, allocations: 3.938 kB / 348.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1192, allocations: 8 kB / 348.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1192, allocations: 0 / 348.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.1194, allocations: 107.6 kB / 349 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1195, allocations: 96.95 kB / 349.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1195, allocations: 3.984 kB / 349.1 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1196, allocations: 8 kB / 349.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.1196, allocations: 11.98 kB / 349.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1196, allocations: 0 / 349.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.1197, allocations: 99.56 kB / 349.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1197, allocations: 0 / 349.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008674/0.1206, allocations: 315.6 kB / 349.5 MB, free: 14.05 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 (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.001201/0.1218, allocations: 0.5767 MB / 350.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.122, allocations: 35.92 kB / 350.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.122, allocations: 0 / 350.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.1221, allocations: 19.92 kB / 350.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.1223, allocations: 12 kB / 350.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.1227, allocations: 185.3 kB / 350.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1229, allocations: 0.6887 MB / 351 MB, free: 12.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.123, allocations: 48.28 kB / 351 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.1231, allocations: 23.42 kB / 351.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1231, allocations: 0 / 351.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Templates: time 0.01373/0.1368, allocations: 8.778 MB / 359.8 MB, free: 3.609 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) Environment - environmentSimulation: 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","../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