Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 120.5 kB / 17.7 MB, free: 5.383 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.001193/0.001193, allocations: 190.9 kB / 18.63 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 51.73 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08612, allocations: 49.44 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002321/0.08848, allocations: 1.369 MB / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1749/0.2633, allocations: 23.51 MB / 376.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.2635, allocations: 0 / 376.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.2637, allocations: 7.172 kB / 376.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.28, allocations: 5.975 MB / 382.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.2809, allocations: 342.4 kB / 382.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2811, allocations: 80.86 kB / 382.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.2811, allocations: 9.062 kB / 382.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.2812, allocations: 35.12 kB / 382.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.2813, allocations: 38.38 kB / 382.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2813, allocations: 3.969 kB / 382.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.2971, allocations: 8.855 MB / 391.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.2972, allocations: 15.03 kB / 391.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.2973, allocations: 30.86 kB / 391.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008998/0.3063, allocations: 4.367 MB / 396.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3063, allocations: 0 / 396.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3063, allocations: 1.812 kB / 396.1 MB, free: 3.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3063, allocations: 0 / 396.1 MB, free: 3.816 MB / 302.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.002456/0.3088, allocations: 0.9054 MB / 397 MB, free: 3.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3088, allocations: 10.91 kB / 397 MB, free: 3.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.3089, allocations: 11.94 kB / 397.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.309, allocations: 195.3 kB / 397.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3091, allocations: 7.922 kB / 397.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3091, allocations: 6.594 kB / 397.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.3092, allocations: 70.89 kB / 397.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3093, allocations: 3.938 kB / 397.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3093, allocations: 4.875 kB / 397.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3093, allocations: 2 kB / 397.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3094, allocations: 33.91 kB / 397.4 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.3096, allocations: 190.8 kB / 397.6 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.3099, allocations: 103 kB / 397.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.3099, allocations: 25.2 kB / 397.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.31, allocations: 14.47 kB / 397.7 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.31, allocations: 34.55 kB / 397.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.31, allocations: 0 / 397.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002835/0.3103, allocations: 101.1 kB / 397.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3103, allocations: 82.8 kB / 397.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.3104, allocations: 141.4 kB / 398.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3105, allocations: 32.58 kB / 398.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.3105, allocations: 84.14 kB / 398.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3105, allocations: 17.98 kB / 398.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.3106, allocations: 20.88 kB / 398.2 MB, free: 2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.3106, allocations: 318.8 kB / 398.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.3107, allocations: 15.08 kB / 398.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.3107, allocations: 38.27 kB / 398.6 MB, free: 1.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3108, allocations: 53.06 kB / 398.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3109, allocations: 0 / 398.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.311, allocations: 81.11 kB / 398.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.311, allocations: 3.875 kB / 398.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3111, allocations: 1.906 kB / 398.7 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3111, allocations: 4 kB / 398.7 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.3111, allocations: 13.89 kB / 398.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3112, allocations: 0 / 398.7 MB, free: 1.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.3112, allocations: 6.812 kB / 398.7 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3112, allocations: 3.562 kB / 398.7 MB, free: 1.555 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 5.722e-05/0.3113, allocations: 117.9 kB / 398.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3113, allocations: 6.406 kB / 398.9 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3115, allocations: 106.1 kB / 399 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3115, allocations: 4 kB / 399 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3115, allocations: 3.062 kB / 399 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3116, allocations: 0 / 399 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.084e-05/0.3117, allocations: 183.1 kB / 399.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3117, allocations: 0 / 399.1 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3117, allocations: 9.656 kB / 399.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3117, allocations: 3.938 kB / 399.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3117, allocations: 1.938 kB / 399.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3117, allocations: 2.906 kB / 399.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3118, allocations: 0 / 399.2 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3119, allocations: 123 kB / 399.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.312, allocations: 87.09 kB / 399.4 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.312, allocations: 10.39 kB / 399.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.3121, allocations: 6.281 kB / 399.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3121, allocations: 2 kB / 399.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3121, allocations: 7.953 kB / 399.4 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.3122, allocations: 115.3 kB / 399.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3122, allocations: 0 / 399.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00266/0.3149, allocations: 0.94 MB / 400.4 MB, free: 0.6133 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.004746/0.3196, allocations: 1.317 MB / 401.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.3199, allocations: 55.84 kB / 401.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3199, allocations: 7.938 kB / 401.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.32, allocations: 23.98 kB / 401.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3202, allocations: 15.98 kB / 401.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.3206, allocations: 195.2 kB / 402.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3209, allocations: 0.6844 MB / 402.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.3209, allocations: 12.36 kB / 402.8 MB, free: 14.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.321, allocations: 19.42 kB / 402.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.321, allocations: 0 / 402.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Templates: time 0.03527/0.3563, allocations: 27.09 MB / 429.9 MB, free: 3.32 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches