Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 114.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2103, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002022/0.2124, allocations: 1.375 MB / 411.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02591/0.2383, allocations: 23.6 MB / 434.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.2383, allocations: 0 / 434.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.2385, allocations: 7.938 kB / 434.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.2509, allocations: 5.985 MB / 440.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.2515, allocations: 334.8 kB / 441.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2516, allocations: 79.62 kB / 441.3 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.2517, allocations: 7.938 kB / 441.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.2517, allocations: 35.89 kB / 441.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.2518, allocations: 39.84 kB / 441.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2519, allocations: 4 kB / 441.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.2653, allocations: 8.894 MB / 450.3 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.2654, allocations: 11.98 kB / 450.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.2654, allocations: 27.86 kB / 450.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.2718, allocations: 4.383 MB / 454.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2719, allocations: 0 / 454.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2719, allocations: 0 / 454.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2719, allocations: 0 / 454.7 MB, free: 4.68 MB / 366.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.001665/0.2735, allocations: 0.9085 MB / 455.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2736, allocations: 8.031 kB / 455.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.2736, allocations: 16.84 kB / 455.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.2738, allocations: 199.8 kB / 455.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2738, allocations: 0 / 455.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.2738, allocations: 7.984 kB / 455.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.274, allocations: 71.39 kB / 455.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.274, allocations: 3.984 kB / 455.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.274, allocations: 0 / 455.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2741, allocations: 3.938 kB / 455.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.2742, allocations: 43.91 kB / 456 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.2744, allocations: 194.5 kB / 456.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.2747, allocations: 93.17 kB / 456.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.2748, allocations: 29.77 kB / 456.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.2748, allocations: 19.94 kB / 456.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2748, allocations: 34.55 kB / 456.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2748, allocations: 0 / 456.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003023/0.2752, allocations: 101.5 kB / 456.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2752, allocations: 77.11 kB / 456.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2753, allocations: 142.1 kB / 456.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2753, allocations: 25.7 kB / 456.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.2754, allocations: 88.14 kB / 456.7 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2754, allocations: 7.906 kB / 456.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2755, allocations: 29.64 kB / 456.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.2756, allocations: 318.8 kB / 457.1 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.2756, allocations: 15.98 kB / 457.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.2757, allocations: 37.7 kB / 457.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.2758, allocations: 53.62 kB / 457.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2759, allocations: 0 / 457.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001868/0.276, allocations: 78.05 kB / 457.3 MB, free: 1.844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2761, allocations: 4 kB / 457.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2761, allocations: 3.984 kB / 457.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2761, allocations: 4 kB / 457.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.2762, allocations: 11.94 kB / 457.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2762, allocations: 7.984 kB / 457.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.2762, allocations: 8 kB / 457.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2762, allocations: 0 / 457.3 MB, free: 1.805 MB / 366.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 7.852e-05/0.2763, allocations: 121.7 kB / 457.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2764, allocations: 7.906 kB / 457.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.2766, allocations: 101.5 kB / 457.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2766, allocations: 0 / 457.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2766, allocations: 0 / 457.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.2767, allocations: 93.09 kB / 457.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.2767, allocations: 4 kB / 457.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.2768, allocations: 7.875 kB / 457.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.2768, allocations: 11.98 kB / 457.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000243/0.2771, allocations: 232.2 kB / 457.9 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002529/0.2774, allocations: 329.9 kB / 458.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.18e-05/0.2774, allocations: 31.91 kB / 458.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.2775, allocations: 107.3 kB / 458.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of Backend: time 3.11e-07/0.2775, allocations: 0 / 458.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.2825, allocations: 1.71 MB / 460 MB, free: 15 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004685/0.283, allocations: 0.61 MB / 460.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Templates: time 0.04298/0.326, allocations: 35.4 MB / 496.1 MB, free: 10.91 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches