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.000828/0.0008281, allocations: 95.47 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008723/0.0008723, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002188/0.0002188, allocations: 4 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08617/0.0864, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001312/0.08775, allocations: 1.084 MB / 359.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1805/0.2683, allocations: 22.1 MB / 381.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.2684, allocations: 1.25 kB / 381.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.834e-05/0.2685, allocations: 10.47 kB / 381.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.2812, allocations: 4.504 MB / 386.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2818, allocations: 211.4 kB / 386.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2819, allocations: 88.58 kB / 386.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.2819, allocations: 1.906 kB / 386.6 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.282, allocations: 27.03 kB / 386.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.2821, allocations: 40.17 kB / 386.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2821, allocations: 3.344 kB / 386.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/0.2967, allocations: 7.773 MB / 394.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.2968, allocations: 13.44 kB / 394.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.2968, allocations: 35.14 kB / 394.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.3026, allocations: 2.81 MB / 397.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3026, allocations: 0 / 397.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3026, allocations: 0 / 397.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.3026, allocations: 0 / 397.3 MB, free: 2.602 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.002351/0.305, allocations: 0.8978 MB / 398.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.305, allocations: 10.41 kB / 398.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.3051, allocations: 6.562 kB / 398.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3052, allocations: 194.2 kB / 398.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3052, allocations: 3.031 kB / 398.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3052, allocations: 7.938 kB / 398.4 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3054, allocations: 75.05 kB / 398.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3054, allocations: 0 / 398.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3054, allocations: 0 / 398.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3054, allocations: 2.5 kB / 398.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3055, allocations: 33 kB / 398.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.3057, allocations: 185.1 kB / 398.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.3059, allocations: 98.97 kB / 398.8 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.306, allocations: 35.14 kB / 398.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3061, allocations: 8.375 kB / 398.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3061, allocations: 49.52 kB / 398.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3061, allocations: 0 / 398.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002432/0.3063, allocations: 98.73 kB / 399 MB, free: 1.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.3064, allocations: 84.05 kB / 399.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.3065, allocations: 134 kB / 399.2 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3065, allocations: 29.7 kB / 399.2 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.3065, allocations: 82.98 kB / 399.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3065, allocations: 29.58 kB / 399.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.3065, allocations: 0 / 399.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.3066, allocations: 317.2 kB / 399.7 MB, free: 500 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.3066, allocations: 14.2 kB / 399.7 MB, free: 496 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.3067, allocations: 33.3 kB / 399.7 MB, free: 472 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.3067, allocations: 19.39 kB / 399.7 MB, free: 464 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3067, allocations: 0 / 399.7 MB, free: 464 kB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001429/0.3069, allocations: 83.19 kB / 399.8 MB, free: 408 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3069, allocations: 7.625 kB / 399.8 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3069, allocations: 0 / 399.8 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3069, allocations: 0 / 399.8 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.307, allocations: 19.08 kB / 399.8 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.307, allocations: 2.938 kB / 399.8 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.3071, allocations: 0 / 399.8 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.3071, allocations: 3.031 kB / 399.8 MB, free: 400 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.3071, allocations: 109.2 kB / 400 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.3071, allocations: 22.8 kB / 400 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.3074, allocations: 100.8 kB / 400.1 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3074, allocations: 0 / 400.1 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3074, allocations: 3.938 kB / 400.1 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3074, allocations: 3.938 kB / 400.1 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3075, allocations: 184.9 kB / 400.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3075, allocations: 3.031 kB / 400.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.3076, allocations: 7.375 kB / 400.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3076, allocations: 5.766 kB / 400.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3076, allocations: 4 kB / 400.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3076, allocations: 6.562 kB / 400.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3076, allocations: 0 / 400.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3078, allocations: 105.8 kB / 400.4 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.3079, allocations: 97.55 kB / 400.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3079, allocations: 5.672 kB / 400.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-05/0.308, allocations: 9.594 kB / 400.5 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.308, allocations: 11.42 kB / 400.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.308, allocations: 4.031 kB / 400.5 MB, free: 15.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.3081, allocations: 110.8 kB / 400.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3081, allocations: 0 / 400.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00257/0.3107, allocations: 0.9384 MB / 401.6 MB, free: 15.43 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003953/0.3147, allocations: 1.227 MB / 402.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3149, allocations: 47.91 kB / 402.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3149, allocations: 3.938 kB / 402.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.315, allocations: 23.98 kB / 402.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3152, allocations: 19.98 kB / 402.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.3157, allocations: 216.3 kB / 403.1 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3159, allocations: 0.6859 MB / 403.8 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.316, allocations: 15.98 kB / 403.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.316, allocations: 15.44 kB / 403.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.316, allocations: 0 / 403.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of Templates: time 0.0358/0.3518, allocations: 27.57 MB / 431.4 MB, free: 2.148 MB / 334.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