Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007772/0.0007773, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.0008048/0.0008048, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002355, allocations: 11.94 kB / 301.4 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08442, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001377/0.08584, allocations: 1.087 MB / 352.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2008/0.2866, allocations: 24.93 MB / 377.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.2867, allocations: 0 / 377.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2868, allocations: 7.031 kB / 377.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.3, allocations: 4.919 MB / 382.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.3007, allocations: 317.5 kB / 383.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3008, allocations: 93.5 kB / 383.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.3008, allocations: 11 kB / 383.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.3009, allocations: 31.12 kB / 383.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.301, allocations: 39.61 kB / 383.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.301, allocations: 3.281 kB / 383.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.3175, allocations: 8.903 MB / 392.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.3176, allocations: 15.83 kB / 392.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.3176, allocations: 55.06 kB / 392.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.33, allocations: 4.424 MB / 396.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3301, allocations: 0 / 396.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3301, allocations: 4 kB / 396.7 MB, free: 3.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3301, allocations: 0 / 396.7 MB, free: 3.992 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.002803/0.3329, allocations: 0.897 MB / 397.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.333, allocations: 12.94 kB / 397.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.333, allocations: 8.594 kB / 397.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3332, allocations: 198.2 kB / 397.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3332, allocations: 7.625 kB / 397.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3333, allocations: 0 / 397.8 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3335, allocations: 79.58 kB / 397.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3335, allocations: 0 / 397.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3335, allocations: 0 / 397.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3335, allocations: 2.094 kB / 397.9 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3336, allocations: 34.22 kB / 397.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3338, allocations: 195.8 kB / 398.1 MB, free: 2.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3341, allocations: 98.44 kB / 398.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.3342, allocations: 31.06 kB / 398.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.3342, allocations: 16.33 kB / 398.2 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3343, allocations: 30.56 kB / 398.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3343, allocations: 4 kB / 398.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002932/0.3346, allocations: 99.14 kB / 398.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3346, allocations: 77.11 kB / 398.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3347, allocations: 142.2 kB / 398.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3347, allocations: 27.61 kB / 398.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.3348, allocations: 90.94 kB / 398.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3348, allocations: 14.84 kB / 398.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.3348, allocations: 13.72 kB / 398.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.3349, allocations: 324.7 kB / 399 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.3349, allocations: 15.81 kB / 399 MB, free: 1.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.335, allocations: 28.7 kB / 399.1 MB, free: 1.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.3351, allocations: 54.06 kB / 399.1 MB, free: 1.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3351, allocations: 6.906 kB / 399.1 MB, free: 1.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001658/0.3353, allocations: 83.14 kB / 399.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3353, allocations: 5.781 kB / 399.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3353, allocations: 0 / 399.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3353, allocations: 0 / 399.2 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.3354, allocations: 12.98 kB / 399.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3354, allocations: 3 kB / 399.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.3355, allocations: 7.844 kB / 399.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3355, allocations: 7 kB / 399.3 MB, free: 1.73 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.3355, allocations: 120.7 kB / 399.4 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.3356, allocations: 7.312 kB / 399.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3358, allocations: 102.3 kB / 399.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3358, allocations: 3.969 kB / 399.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3358, allocations: 0 / 399.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3358, allocations: 0 / 399.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.352e-05/0.3359, allocations: 183.7 kB / 399.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3359, allocations: 0 / 399.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.336, allocations: 12.62 kB / 399.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.336, allocations: 0 / 399.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.336, allocations: 10.95 kB / 399.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.336, allocations: 0 / 399.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.336, allocations: 0 / 399.7 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.3362, allocations: 114.9 kB / 399.8 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.3363, allocations: 87.78 kB / 399.9 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3363, allocations: 10.61 kB / 399.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.3364, allocations: 6.5 kB / 399.9 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.3364, allocations: 6.297 kB / 399.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3364, allocations: 2.125 kB / 399.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.3365, allocations: 109.2 kB / 400 MB, free: 1.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3365, allocations: 0 / 400 MB, free: 1.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002654/0.3391, allocations: 0.9424 MB / 401 MB, free: 0.8008 MB / 302.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.005097/0.3443, allocations: 1.334 MB / 402.3 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.3445, allocations: 51.84 kB / 402.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3445, allocations: 0 / 402.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.3446, allocations: 23.98 kB / 402.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3449, allocations: 19.97 kB / 402.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.3453, allocations: 211.8 kB / 402.6 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3456, allocations: 0.6809 MB / 403.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.3456, allocations: 15.98 kB / 403.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.3457, allocations: 15.44 kB / 403.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3457, allocations: 0 / 403.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03998/0.3857, allocations: 27.03 MB / 430.3 MB, free: 3.672 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches