Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001441/0.001441, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001647/0.001647, allocations: 183.1 kB / 19.33 MB, free: 3.758 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.266/1.266, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001207/0.001207, allocations: 59.91 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07116/0.07238, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002111/0.07452, allocations: 1.357 MB / 377.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.174/0.2486, allocations: 23.68 MB / 400.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.2487, allocations: 0 / 400.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.2489, allocations: 7.078 kB / 400.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01607/0.2649, allocations: 5.635 MB / 406.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.2657, allocations: 336.5 kB / 406.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2659, allocations: 79.39 kB / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.2659, allocations: 6.75 kB / 406.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.266, allocations: 32.41 kB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.266, allocations: 37.64 kB / 407 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2661, allocations: 4.125 kB / 407 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.2816, allocations: 8.747 MB / 415.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.2817, allocations: 18.88 kB / 415.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2818, allocations: 23.3 kB / 415.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009713/0.2915, allocations: 4.352 MB / 420.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2915, allocations: 3.938 kB / 420.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2915, allocations: 0 / 420.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2915, allocations: 0 / 420.1 MB, free: 3.309 MB / 334.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.002244/0.2938, allocations: 0.9052 MB / 421 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2938, allocations: 8.031 kB / 421 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.2939, allocations: 8.844 kB / 421.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.2941, allocations: 192.1 kB / 421.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2941, allocations: 0 / 421.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2941, allocations: 4 kB / 421.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.2943, allocations: 71.33 kB / 421.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2943, allocations: 0 / 421.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2943, allocations: 0 / 421.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2943, allocations: 8 kB / 421.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.2945, allocations: 39.91 kB / 421.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.2947, allocations: 190.4 kB / 421.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.295, allocations: 97.19 kB / 421.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.2951, allocations: 33.7 kB / 421.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.2952, allocations: 15.92 kB / 421.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2952, allocations: 38.5 kB / 421.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.2952, allocations: 0 / 421.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003104/0.2955, allocations: 93.59 kB / 421.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2956, allocations: 85.11 kB / 421.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2957, allocations: 137.8 kB / 422 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2957, allocations: 25.7 kB / 422.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.2958, allocations: 84.14 kB / 422.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2958, allocations: 23.64 kB / 422.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.2959, allocations: 17.72 kB / 422.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.296, allocations: 326.8 kB / 422.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.296, allocations: 12.38 kB / 422.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.2961, allocations: 34.39 kB / 422.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.2963, allocations: 57.62 kB / 422.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2963, allocations: 0 / 422.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001845/0.2965, allocations: 85.52 kB / 422.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2965, allocations: 4 kB / 422.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2965, allocations: 0 / 422.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2965, allocations: 0 / 422.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.2966, allocations: 27.17 kB / 422.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2966, allocations: 0 / 422.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.2967, allocations: 0 / 422.7 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.2967, allocations: 7.891 kB / 422.7 MB, free: 472 kB / 334.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.614e-05/0.2968, allocations: 117.8 kB / 422.8 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2968, allocations: 3.906 kB / 422.8 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.2971, allocations: 103 kB / 422.9 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2971, allocations: 4 kB / 423 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2971, allocations: 0 / 423 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.2972, allocations: 89.03 kB / 423 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2972, allocations: 0 / 423 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.2973, allocations: 11.92 kB / 423.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.2973, allocations: 8 kB / 423.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002651/0.2976, allocations: 236.1 kB / 423.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002611/0.2979, allocations: 334 kB / 423.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.263e-05/0.2979, allocations: 23.92 kB / 423.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.298, allocations: 115.1 kB / 423.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.298, allocations: 0 / 423.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006592/0.3046, allocations: 1.718 MB / 425.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of SimCode: time 0.000527/0.3052, allocations: 0.6106 MB / 426.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Templates: time 0.04659/0.3518, allocations: 36.68 MB / 462.8 MB, free: 8.27 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches