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.001184/0.001184, allocations: 109.2 kB / 17.93 MB, free: 5.539 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.001149/0.001149, allocations: 197.3 kB / 18.86 MB, free: 4.617 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.352/1.352, allocations: 205.1 MB / 224.7 MB, free: 12.36 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.001129/0.001129, allocations: 55.92 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08754, allocations: 46.63 MB / 327.4 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0024/0.08997, allocations: 1.417 MB / 328.8 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.1026, allocations: 12.02 MB / 340.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.1027, allocations: 0 / 340.9 MB, free: 7.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.1028, allocations: 7.984 kB / 340.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.1061, allocations: 0.9144 MB / 341.8 MB, free: 6.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1078, allocations: 0.5484 MB / 342.3 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.603e-05/0.1079, allocations: 63.72 kB / 342.4 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.108, allocations: 7.984 kB / 342.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.108, allocations: 27.92 kB / 342.4 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1081, allocations: 35.89 kB / 342.5 MB, free: 5.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1082, allocations: 4 kB / 342.5 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.111, allocations: 1.592 MB / 344.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.1111, allocations: 11.92 kB / 344.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1111, allocations: 23.92 kB / 344.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1122, allocations: 0.7368 MB / 344.8 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1123, allocations: 4 kB / 344.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1123, allocations: 0 / 344.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1123, allocations: 4 kB / 344.8 MB, free: 3.297 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.0007546/0.113, allocations: 0.538 MB / 345.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1131, allocations: 8.031 kB / 345.4 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1132, allocations: 16.88 kB / 345.4 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1134, allocations: 176.2 kB / 345.6 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1134, allocations: 8.312 kB / 345.6 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1134, allocations: 4.375 kB / 345.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1136, allocations: 67.52 kB / 345.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1136, allocations: 0 / 345.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1136, allocations: 4 kB / 345.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1136, allocations: 4 kB / 345.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1138, allocations: 19.92 kB / 345.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.114, allocations: 174.6 kB / 345.9 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.1142, allocations: 89.06 kB / 345.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.1143, allocations: 21.78 kB / 346 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00633/0.1207, allocations: 3.293 MB / 349.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1207, allocations: 38.5 kB / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.225e-06/0.1207, allocations: 0 / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003255/0.1211, allocations: 89.81 kB / 349.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1211, allocations: 81.11 kB / 349.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1212, allocations: 117.8 kB / 349.6 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1213, allocations: 25.7 kB / 349.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1213, allocations: 80.14 kB / 349.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1213, allocations: 27.72 kB / 349.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.1214, allocations: 21.72 kB / 349.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.1215, allocations: 310.8 kB / 350 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1216, allocations: 15.98 kB / 350 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/0.1216, allocations: 29.7 kB / 350.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.893e-05/0.1217, allocations: 37.77 kB / 350.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1217, allocations: 4 kB / 350.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000165/0.1219, allocations: 81.45 kB / 350.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1219, allocations: 4 kB / 350.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1219, allocations: 3.938 kB / 350.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.122, allocations: 0 / 350.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/0.122, allocations: 16 kB / 350.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.122, allocations: 0 / 350.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1221, allocations: 3.984 kB / 350.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1221, allocations: 4 kB / 350.2 MB, free: 13.21 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.553e-05/0.1222, allocations: 109.8 kB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1222, allocations: 11.84 kB / 350.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.1225, allocations: 113.7 kB / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1225, allocations: 0 / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1225, allocations: 0 / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1225, allocations: 4 kB / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1227, allocations: 165.7 kB / 350.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1227, allocations: 0 / 350.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.1227, allocations: 15.92 kB / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1227, allocations: 4 kB / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1228, allocations: 4 kB / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1228, allocations: 0 / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1228, allocations: 0 / 350.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.123, allocations: 105.8 kB / 350.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.123, allocations: 93.2 kB / 350.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.123, allocations: 0 / 350.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1231, allocations: 8 kB / 350.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1232, allocations: 15.91 kB / 350.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1232, allocations: 4 kB / 350.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.841e-05/0.1232, allocations: 91.27 kB / 351 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1232, allocations: 0 / 351 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007683/0.124, allocations: 319.7 kB / 351.3 MB, free: 12.06 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.001077/0.1251, allocations: 0.5766 MB / 351.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1253, allocations: 47.89 kB / 351.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1253, allocations: 0 / 351.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.1254, allocations: 23.92 kB / 351.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1256, allocations: 11.94 kB / 351.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.126, allocations: 205.5 kB / 352.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1263, allocations: 0.6846 MB / 352.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.1264, allocations: 27.36 kB / 352.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1264, allocations: 0 / 352.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of Templates: time 0.009097/0.1355, allocations: 5.942 MB / 358.8 MB, free: 4.469 MB / 302.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 -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","../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