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.001404/0.001404, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.67 kB / 306.9 MB, free: 1.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09564, allocations: 50.53 MB / 357.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002685/0.09837, allocations: 1.439 MB / 358.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1919/0.2903, allocations: 25.42 MB / 384.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.2904, allocations: 0 / 384.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2906, allocations: 3.391 kB / 384.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.3062, allocations: 4.935 MB / 389.2 MB, free: 5.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.307, allocations: 325.8 kB / 389.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3071, allocations: 92.27 kB / 389.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.3072, allocations: 6.203 kB / 389.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.3072, allocations: 26.62 kB / 389.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.3073, allocations: 48.33 kB / 389.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3073, allocations: 3.406 kB / 389.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/0.3232, allocations: 8.919 MB / 398.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.3233, allocations: 20.22 kB / 398.7 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.3234, allocations: 27.16 kB / 398.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.3295, allocations: 2.963 MB / 401.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3296, allocations: 0 / 401.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3296, allocations: 0 / 401.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3296, allocations: 2.875 kB / 401.6 MB, free: 15.34 MB / 318.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.002523/0.3321, allocations: 0.924 MB / 402.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3322, allocations: 8.906 kB / 402.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.3322, allocations: 4.562 kB / 402.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3324, allocations: 200.4 kB / 402.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3324, allocations: 10.06 kB / 402.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3325, allocations: 2.281 kB / 402.8 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3326, allocations: 72.33 kB / 402.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3326, allocations: 0 / 402.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3327, allocations: 1.438 kB / 402.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3327, allocations: 0 / 402.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3328, allocations: 32.88 kB / 402.9 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.333, allocations: 191.4 kB / 403.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.3333, allocations: 100.8 kB / 403.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.3334, allocations: 32.08 kB / 403.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.3335, allocations: 11.73 kB / 403.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3335, allocations: 45.16 kB / 403.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3335, allocations: 0 / 403.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003288/0.3339, allocations: 100.5 kB / 403.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3339, allocations: 81.11 kB / 403.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.334, allocations: 133.8 kB / 403.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3341, allocations: 29.7 kB / 403.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.3341, allocations: 88.14 kB / 403.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.3341, allocations: 23.64 kB / 403.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3342, allocations: 17.72 kB / 403.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3343, allocations: 318.8 kB / 404 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.3344, allocations: 19.98 kB / 404.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.3345, allocations: 33.64 kB / 404.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3346, allocations: 62.22 kB / 404.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3346, allocations: 384 / 404.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002003/0.3348, allocations: 80.62 kB / 404.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3348, allocations: 4 kB / 404.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3349, allocations: 0 / 404.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3349, allocations: 3.938 kB / 404.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3349, allocations: 19.92 kB / 404.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.335, allocations: 0 / 404.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.949e-05/0.335, allocations: 0 / 404.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.335, allocations: 8 kB / 404.3 MB, free: 12.89 MB / 318.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.291e-05/0.3351, allocations: 121.7 kB / 404.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.3351, allocations: 3.906 kB / 404.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3354, allocations: 101.5 kB / 404.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3354, allocations: 0 / 404.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3354, allocations: 0 / 404.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3354, allocations: 4 kB / 404.5 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.3355, allocations: 177.6 kB / 404.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3356, allocations: 8 kB / 404.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.696e-05/0.3356, allocations: 8 kB / 404.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3356, allocations: 0 / 404.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3356, allocations: 0 / 404.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3357, allocations: 7.984 kB / 404.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3357, allocations: 0 / 404.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.3359, allocations: 121.7 kB / 404.8 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3359, allocations: 96.94 kB / 404.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.336, allocations: 0 / 404.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.336, allocations: 8 kB / 404.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3361, allocations: 3.984 kB / 404.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.3361, allocations: 4 kB / 404.9 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.152e-05/0.3362, allocations: 107.3 kB / 405 MB, free: 12.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 0 / 405 MB, free: 12.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002808/0.339, allocations: 0.9447 MB / 406 MB, free: 11.08 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 (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.004829/0.3438, allocations: 1.347 MB / 407.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3441, allocations: 51.89 kB / 407.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3441, allocations: 0 / 407.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.3442, allocations: 31.92 kB / 407.4 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.3445, allocations: 19.98 kB / 407.4 MB, free: 9.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3449, allocations: 216.5 kB / 407.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.3452, allocations: 0.6859 MB / 408.3 MB, free: 8.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.3452, allocations: 23.42 kB / 408.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3452, allocations: 0 / 408.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of Templates: time 0.02758/0.3728, allocations: 18.35 MB / 426.7 MB, free: 6.281 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/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