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.001092/0.001092, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 203.8 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.89 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2248, allocations: 50.54 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002046/0.2269, allocations: 1.374 MB / 410.6 MB, free: 204 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02647/0.2534, allocations: 23.61 MB / 434.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.2534, allocations: 0 / 434.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.2536, allocations: 7.938 kB / 434.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.2668, allocations: 5.993 MB / 440.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.2676, allocations: 346.8 kB / 440.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2677, allocations: 71.7 kB / 440.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.2677, allocations: 11.94 kB / 440.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.2678, allocations: 35.89 kB / 440.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.2679, allocations: 43.77 kB / 440.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2679, allocations: 4 kB / 440.7 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01408/0.282, allocations: 8.883 MB / 449.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.2821, allocations: 11.98 kB / 449.6 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.2821, allocations: 31.84 kB / 449.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007516/0.2896, allocations: 4.379 MB / 454 MB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.2897, allocations: 0 / 454 MB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2897, allocations: 3.938 kB / 454 MB, free: 4.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.2897, allocations: 3.938 kB / 454 MB, free: 4.668 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.002026/0.2917, allocations: 0.9202 MB / 455 MB, free: 3.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.2918, allocations: 8.031 kB / 455 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.2918, allocations: 8.844 kB / 455 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.292, allocations: 203.8 kB / 455.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.292, allocations: 0 / 455.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.292, allocations: 4 kB / 455.2 MB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2922, allocations: 67.39 kB / 455.2 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2922, allocations: 4 kB / 455.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.2923, allocations: 0 / 455.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2923, allocations: 11.88 kB / 455.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2924, allocations: 27.97 kB / 455.3 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.2926, allocations: 190.5 kB / 455.5 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.2929, allocations: 101.2 kB / 455.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.293, allocations: 33.7 kB / 455.6 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.2931, allocations: 11.98 kB / 455.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2931, allocations: 34.56 kB / 455.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.2931, allocations: 4 kB / 455.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003307/0.2934, allocations: 101.5 kB / 455.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.2935, allocations: 81.11 kB / 455.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.2936, allocations: 133.8 kB / 456 MB, free: 2.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2936, allocations: 29.7 kB / 456 MB, free: 2.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.2937, allocations: 80.14 kB / 456.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2937, allocations: 19.8 kB / 456.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.2938, allocations: 17.72 kB / 456.1 MB, free: 2.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2939, allocations: 326.7 kB / 456.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.294, allocations: 19.98 kB / 456.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.294, allocations: 29.7 kB / 456.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.2942, allocations: 50.06 kB / 456.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2942, allocations: 128 / 456.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001847/0.2944, allocations: 93.92 kB / 456.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2944, allocations: 4 kB / 456.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2944, allocations: 11.92 kB / 456.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2944, allocations: 0 / 456.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.2945, allocations: 15.98 kB / 456.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2945, allocations: 0 / 456.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.2945, allocations: 0 / 456.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2946, allocations: 4 kB / 456.6 MB, free: 1.793 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 8.415e-05/0.2946, allocations: 129.6 kB / 456.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2947, allocations: 3.906 kB / 456.8 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.2949, allocations: 101.5 kB / 456.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2949, allocations: 0 / 456.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2949, allocations: 3.938 kB / 456.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2949, allocations: 0 / 456.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.2951, allocations: 185.6 kB / 457.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2951, allocations: 3.938 kB / 457.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.2952, allocations: 12 kB / 457.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2952, allocations: 0 / 457.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2952, allocations: 0 / 457.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2952, allocations: 4 kB / 457.1 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2952, allocations: 4 kB / 457.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.2954, allocations: 117.8 kB / 457.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.2955, allocations: 85.09 kB / 457.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2955, allocations: 3.938 kB / 457.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.2956, allocations: 8 kB / 457.3 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2957, allocations: 7.984 kB / 457.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.2957, allocations: 4 kB / 457.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.691e-05/0.2957, allocations: 107.3 kB / 457.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2958, allocations: 0 / 457.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002315/0.2981, allocations: 0.9486 MB / 458.4 MB, free: 15.97 MB / 382.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.004312/0.3024, allocations: 1.348 MB / 459.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3027, allocations: 47.91 kB / 459.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3027, allocations: 0 / 459.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.3028, allocations: 23.98 kB / 459.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.303, allocations: 15.98 kB / 459.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.3035, allocations: 188.4 kB / 460 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3037, allocations: 0.6885 MB / 460.7 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.825e-05/0.3038, allocations: 8 kB / 460.7 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.3038, allocations: 15.44 kB / 460.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3038, allocations: 0 / 460.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Templates: time 0.03449/0.3383, allocations: 27.26 MB / 487.9 MB, free: 2.301 MB / 398.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/jenkins/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/jenkins/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