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.001061/0.001062, allocations: 104.5 kB / 17.58 MB, free: 5.426 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.001045/0.001045, allocations: 191.9 kB / 18.51 MB, free: 4.512 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.267/1.267, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001165/0.001165, allocations: 43.94 kB / 280.6 MB, free: 3.203 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08654, allocations: 46.63 MB / 327.3 MB, free: 4.504 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002522/0.0891, allocations: 1.357 MB / 328.6 MB, free: 3.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.1023, allocations: 12.08 MB / 340.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.1024, allocations: 0 / 340.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1026, allocations: 7.922 kB / 340.7 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.1059, allocations: 1.046 MB / 341.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.1078, allocations: 0.6256 MB / 342.4 MB, free: 5.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1079, allocations: 63.72 kB / 342.4 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.108, allocations: 3.984 kB / 342.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.108, allocations: 27.92 kB / 342.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.1081, allocations: 39.84 kB / 342.5 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1082, allocations: 4 kB / 342.5 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.1114, allocations: 1.573 MB / 344.1 MB, free: 3.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.1115, allocations: 11.92 kB / 344.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1115, allocations: 23.88 kB / 344.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.1139, allocations: 1.076 MB / 345.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1139, allocations: 0 / 345.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1139, allocations: 0 / 345.2 MB, free: 2.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1139, allocations: 0 / 345.2 MB, free: 2.48 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.0008222/0.1148, allocations: 0.5457 MB / 345.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1148, allocations: 8.031 kB / 345.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1149, allocations: 12.92 kB / 345.8 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1151, allocations: 176.2 kB / 345.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1151, allocations: 4.312 kB / 345.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1151, allocations: 8.359 kB / 346 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1153, allocations: 71.45 kB / 346 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1153, allocations: 0 / 346 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1153, allocations: 8 kB / 346 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1153, allocations: 0 / 346 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1154, allocations: 19.98 kB / 346.1 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1156, allocations: 170.6 kB / 346.2 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1159, allocations: 85.12 kB / 346.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.116, allocations: 29.77 kB / 346.3 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006201/0.1222, allocations: 3.301 MB / 349.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1222, allocations: 38.48 kB / 349.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.1222, allocations: 0 / 349.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003255/0.1226, allocations: 81.8 kB / 349.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1226, allocations: 81.11 kB / 349.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.193e-05/0.1227, allocations: 117.8 kB / 349.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1228, allocations: 29.7 kB / 350 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.1228, allocations: 88.12 kB / 350.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1228, allocations: 15.75 kB / 350.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.1229, allocations: 17.72 kB / 350.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.123, allocations: 322.8 kB / 350.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.1231, allocations: 4 kB / 350.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.1231, allocations: 29.64 kB / 350.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.1233, allocations: 49.69 kB / 350.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1233, allocations: 0 / 350.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001667/0.1234, allocations: 73.45 kB / 350.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1235, allocations: 4 kB / 350.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1235, allocations: 0 / 350.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1235, allocations: 4 kB / 350.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.1236, allocations: 11.98 kB / 350.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1236, allocations: 0 / 350.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1236, allocations: 8 kB / 350.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1237, allocations: 4 kB / 350.6 MB, free: 12.39 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 8.84e-05/0.1237, allocations: 113.8 kB / 350.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1238, allocations: 11.84 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.124, allocations: 101.5 kB / 350.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1241, allocations: 0 / 350.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1241, allocations: 4 kB / 350.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1241, allocations: 3.984 kB / 350.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1242, allocations: 165.7 kB / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1242, allocations: 0 / 351 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.1243, allocations: 15.94 kB / 351 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1243, allocations: 3.938 kB / 351 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1243, allocations: 3.938 kB / 351 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1243, allocations: 320 / 351 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1243, allocations: 8 kB / 351 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.1245, allocations: 98.06 kB / 351.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1246, allocations: 92.97 kB / 351.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1246, allocations: 4 kB / 351.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1247, allocations: 11.98 kB / 351.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1247, allocations: 4 kB / 351.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1247, allocations: 4 kB / 351.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.1248, allocations: 99.25 kB / 351.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1248, allocations: 0 / 351.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.1256, allocations: 315.7 kB / 351.6 MB, free: 11.25 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.001238/0.1269, allocations: 0.5805 MB / 352.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1271, allocations: 35.98 kB / 352.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1271, allocations: 0 / 352.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.1272, allocations: 24.2 kB / 352.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.1274, allocations: 11.94 kB / 352.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.1278, allocations: 179.8 kB / 352.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.128, allocations: 0.6807 MB / 353.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.1281, allocations: 52.23 kB / 353.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.1282, allocations: 23.36 kB / 353.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1282, allocations: 0 / 353.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Templates: time 0.01619/0.1444, allocations: 8.975 MB / 362.2 MB, free: 0.6094 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/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) Reference file matches