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.00132/0.00132, allocations: 110.2 kB / 18.24 MB, free: 4.766 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.001268/0.001268, allocations: 195.3 kB / 19.19 MB, free: 3.836 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.1 MB / 225 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.001402/0.001402, allocations: 52.14 kB / 281.3 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08462/0.08604, allocations: 46.62 MB / 327.9 MB, free: 4.496 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002581/0.08866, allocations: 1.341 MB / 329.3 MB, free: 3.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1021, allocations: 12.1 MB / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.1022, allocations: 0 / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1023, allocations: 0 / 341.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.1057, allocations: 1.042 MB / 342.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1074, allocations: 0.6373 MB / 343.1 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1076, allocations: 55.78 kB / 343.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1076, allocations: 4 kB / 343.1 MB, free: 5.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.1077, allocations: 31.84 kB / 343.1 MB, free: 5.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.1078, allocations: 35.89 kB / 343.2 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1078, allocations: 4 kB / 343.2 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.1111, allocations: 1.572 MB / 344.8 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.1112, allocations: 7.938 kB / 344.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.1112, allocations: 27.86 kB / 344.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.1138, allocations: 1.072 MB / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.899e-05/0.1139, allocations: 0 / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1139, allocations: 0 / 345.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1139, allocations: 3.938 kB / 345.9 MB, free: 2.477 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.0009141/0.1148, allocations: 0.5418 MB / 346.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.1149, allocations: 8.031 kB / 346.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1151, allocations: 12.92 kB / 346.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1152, allocations: 180.2 kB / 346.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1152, allocations: 4.375 kB / 346.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1153, allocations: 8.375 kB / 346.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1154, allocations: 71.45 kB / 346.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1155, allocations: 0 / 346.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1155, allocations: 0 / 346.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1155, allocations: 4 kB / 346.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1156, allocations: 19.98 kB / 346.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1158, allocations: 174.6 kB / 346.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.1161, allocations: 81.12 kB / 347 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.1162, allocations: 29.75 kB / 347 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006711/0.1229, allocations: 3.305 MB / 350.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.123, allocations: 34.5 kB / 350.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.123, allocations: 0 / 350.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003711/0.1234, allocations: 89.5 kB / 350.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1234, allocations: 81.05 kB / 350.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1236, allocations: 121.8 kB / 350.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1236, allocations: 25.7 kB / 350.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1236, allocations: 84.14 kB / 350.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1237, allocations: 15.75 kB / 350.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1237, allocations: 21.7 kB / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1238, allocations: 322.8 kB / 351.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.1239, allocations: 11.98 kB / 351.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.124, allocations: 25.7 kB / 351.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1241, allocations: 37.7 kB / 351.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1241, allocations: 0 / 351.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001775/0.1243, allocations: 77.45 kB / 351.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1243, allocations: 8 kB / 351.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1243, allocations: 0 / 351.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1244, allocations: 0 / 351.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.1244, allocations: 12 kB / 351.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1244, allocations: 0 / 351.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.1245, allocations: 4 kB / 351.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1245, allocations: 11.92 kB / 351.3 MB, free: 12.38 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.579e-05/0.1246, allocations: 105.8 kB / 351.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.1247, allocations: 12.31 kB / 351.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1249, allocations: 109.5 kB / 351.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.125, allocations: 0 / 351.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.125, allocations: 3.938 kB / 351.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.125, allocations: 4 kB / 351.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1251, allocations: 169.6 kB / 351.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1251, allocations: 4 kB / 351.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.1252, allocations: 19.86 kB / 351.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1252, allocations: 4.125 kB / 351.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1252, allocations: 4 kB / 351.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1252, allocations: 0 / 351.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1252, allocations: 0 / 351.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1255, allocations: 101.9 kB / 351.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.1255, allocations: 96.97 kB / 351.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.1256, allocations: 0 / 351.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.1256, allocations: 8 kB / 351.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1257, allocations: 3.984 kB / 351.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1257, allocations: 4 kB / 351.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.1258, allocations: 91.27 kB / 352 MB, free: 11.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1258, allocations: 0 / 352 MB, free: 11.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008975/0.1267, allocations: 327.6 kB / 352.3 MB, free: 11.23 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.001248/0.1279, allocations: 0.5733 MB / 352.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1281, allocations: 35.91 kB / 352.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1282, allocations: 0 / 352.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.1282, allocations: 23.98 kB / 352.9 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.000215/0.1285, allocations: 19.98 kB / 353 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.1289, allocations: 197.5 kB / 353.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1292, allocations: 0.6885 MB / 353.8 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.1293, allocations: 23.42 kB / 353.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1293, allocations: 0 / 353.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Templates: time 0.009571/0.1388, allocations: 5.945 MB / 359.8 MB, free: 3.648 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","/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