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.001407/0.001408, allocations: 103.3 kB / 18.35 MB, free: 4.633 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.001618/0.001618, allocations: 192 kB / 19.29 MB, free: 3.703 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.297/1.297, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001214/0.001214, allocations: 51.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.08068, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002245/0.08295, allocations: 1.349 MB / 330.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.09498, allocations: 12.08 MB / 342.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.09506, allocations: 0 / 342.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.09513, allocations: 7.922 kB / 342.2 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.0978, allocations: 1.045 MB / 343.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.09912, allocations: 0.6257 MB / 343.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.09923, allocations: 67.64 kB / 343.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.09928, allocations: 8 kB / 343.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.41e-05/0.09935, allocations: 27.91 kB / 343.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.09945, allocations: 35.84 kB / 344 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.09947, allocations: 7.984 kB / 344 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.102, allocations: 1.612 MB / 345.6 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.102, allocations: 4 kB / 345.6 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.1021, allocations: 35.78 kB / 345.6 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1037, allocations: 1.064 MB / 346.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1037, allocations: 0 / 346.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1037, allocations: 0 / 346.7 MB, free: 1.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1037, allocations: 0 / 346.7 MB, free: 1.727 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.0006629/0.1044, allocations: 0.5457 MB / 347.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1044, allocations: 8.031 kB / 347.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.1046, allocations: 8.938 kB / 347.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.1047, allocations: 188.2 kB / 347.4 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1047, allocations: 4.375 kB / 347.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1047, allocations: 4.312 kB / 347.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1049, allocations: 71.45 kB / 347.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1049, allocations: 0 / 347.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.105, allocations: 7.984 kB / 347.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.105, allocations: 0 / 347.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1051, allocations: 23.97 kB / 347.6 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1053, allocations: 174.6 kB / 347.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1056, allocations: 81.12 kB / 347.8 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.1056, allocations: 25.78 kB / 347.8 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00635/0.112, allocations: 3.29 MB / 351.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.112, allocations: 46.44 kB / 351.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1121, allocations: 0 / 351.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003108/0.1124, allocations: 85.5 kB / 351.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1124, allocations: 81.11 kB / 351.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.1125, allocations: 121.8 kB / 351.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1125, allocations: 25.7 kB / 351.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.1126, allocations: 80.14 kB / 351.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1126, allocations: 27.73 kB / 351.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1127, allocations: 17.72 kB / 351.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1128, allocations: 322.8 kB / 351.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.1128, allocations: 4 kB / 351.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.1129, allocations: 29.7 kB / 351.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.113, allocations: 38.08 kB / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.113, allocations: 4 kB / 352 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001616/0.1132, allocations: 77.44 kB / 352.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1132, allocations: 4 kB / 352.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1132, allocations: 0 / 352.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1132, allocations: 4 kB / 352.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.1133, allocations: 11.98 kB / 352.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1133, allocations: 0 / 352.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.1134, allocations: 4 kB / 352.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1134, allocations: 4 kB / 352.1 MB, free: 11.63 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 6.924e-05/0.1135, allocations: 117.8 kB / 352.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1135, allocations: 11.84 kB / 352.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.1138, allocations: 97.47 kB / 352.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.576e-05/0.1138, allocations: 4 kB / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1138, allocations: 0 / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1138, allocations: 4 kB / 352.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.114, allocations: 169.6 kB / 352.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.114, allocations: 0 / 352.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.114, allocations: 19.92 kB / 352.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1141, allocations: 0 / 352.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1141, allocations: 3.938 kB / 352.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1141, allocations: 3.938 kB / 352.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1141, allocations: 4 kB / 352.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.1143, allocations: 101.9 kB / 352.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1143, allocations: 97.09 kB / 352.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1144, allocations: 4 kB / 352.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1144, allocations: 8 kB / 352.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1145, allocations: 7.984 kB / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1145, allocations: 0 / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.058e-05/0.1146, allocations: 95.27 kB / 352.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1146, allocations: 4 kB / 352.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007911/0.1154, allocations: 319.7 kB / 353.1 MB, free: 10.48 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.001017/0.1164, allocations: 0.5728 MB / 353.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1166, allocations: 35.97 kB / 353.7 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.1166, allocations: 8 kB / 353.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.1167, allocations: 19.92 kB / 353.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.1169, allocations: 12.48 kB / 353.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.1173, allocations: 167.8 kB / 353.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.1175, allocations: 0.6845 MB / 354.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1176, allocations: 43.94 kB / 354.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.1176, allocations: 27.36 kB / 354.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1176, allocations: 0 / 354.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of Templates: time 0.01281/0.1305, allocations: 8.979 MB / 363.7 MB, free: 15.85 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 gbode -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