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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 110 kB / 16.92 MB, free: 6.332 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.001704/0.001704, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.221/1.221, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008766/0.0008766, allocations: 39.53 kB / 300.7 MB, free: 5.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07662/0.07752, allocations: 49.45 MB / 350.2 MB, free: 4.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002103/0.07965, allocations: 1.361 MB / 351.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.2356, allocations: 23.51 MB / 375 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.2357, allocations: 0 / 375 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.2358, allocations: 14.42 kB / 375 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.2489, allocations: 5.978 MB / 381 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.2496, allocations: 346.8 kB / 381.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.2497, allocations: 78.23 kB / 381.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.2497, allocations: 5.141 kB / 381.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.2498, allocations: 30.72 kB / 381.5 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.2499, allocations: 41.66 kB / 381.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2499, allocations: 7.25 kB / 381.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.2637, allocations: 8.681 MB / 390.2 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.2637, allocations: 18.7 kB / 390.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.2638, allocations: 35.14 kB / 390.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008074/0.2719, allocations: 4.368 MB / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2719, allocations: 0 / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2719, allocations: 0 / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.2719, allocations: 0 / 394.6 MB, free: 3.711 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.002274/0.2742, allocations: 0.9076 MB / 395.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2743, allocations: 16.55 kB / 395.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.2743, allocations: 32.94 kB / 395.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.2743, allocations: 6.719 kB / 395.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2745, allocations: 211.1 kB / 395.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2745, allocations: 2.625 kB / 395.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2745, allocations: 2.469 kB / 395.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2746, allocations: 72.08 kB / 395.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2747, allocations: 2.938 kB / 395.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.2747, allocations: 0 / 395.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2747, allocations: 0 / 395.9 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2748, allocations: 39.56 kB / 395.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.275, allocations: 189.5 kB / 396.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.2752, allocations: 94.42 kB / 396.2 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.2753, allocations: 31.42 kB / 396.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.2753, allocations: 14.92 kB / 396.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2754, allocations: 40.17 kB / 396.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.2754, allocations: 0 / 396.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002727/0.2756, allocations: 100.2 kB / 396.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.2757, allocations: 80.05 kB / 396.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.2758, allocations: 134.4 kB / 396.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2758, allocations: 33.7 kB / 396.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.2758, allocations: 83.11 kB / 396.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2758, allocations: 21.48 kB / 396.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.2759, allocations: 18.56 kB / 396.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.692e-05/0.2759, allocations: 320.3 kB / 397 MB, free: 1.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/0.276, allocations: 20.67 kB / 397.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.276, allocations: 35.52 kB / 397.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2761, allocations: 53.62 kB / 397.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2762, allocations: 0 / 397.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001609/0.2763, allocations: 88.14 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2763, allocations: 2.625 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2764, allocations: 2.875 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2764, allocations: 0 / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.2764, allocations: 12.14 kB / 397.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2764, allocations: 2.594 kB / 397.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/0.2765, allocations: 11.81 kB / 397.3 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2765, allocations: 7.375 kB / 397.3 MB, free: 1.395 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 4.945e-05/0.2766, allocations: 113 kB / 397.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.2766, allocations: 6.469 kB / 397.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.2768, allocations: 101.6 kB / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2768, allocations: 1.594 kB / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2768, allocations: 0 / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2768, allocations: 1.906 kB / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.52e-05/0.2769, allocations: 189.1 kB / 397.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2769, allocations: 0 / 397.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.277, allocations: 11.97 kB / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.277, allocations: 2.406 kB / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.277, allocations: 0 / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.277, allocations: 2.688 kB / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.277, allocations: 0 / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.2772, allocations: 116.7 kB / 397.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.2772, allocations: 90.59 kB / 397.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2773, allocations: 3.984 kB / 397.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.2773, allocations: 5.875 kB / 397.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.2774, allocations: 7.906 kB / 397.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2774, allocations: 6.703 kB / 397.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.666e-05/0.2774, allocations: 107.5 kB / 398 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2774, allocations: 0 / 398 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002341/0.2798, allocations: 0.9366 MB / 399 MB, free: 488 kB / 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.004951/0.2848, allocations: 1.886 MB / 400.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.285, allocations: 55.91 kB / 400.9 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.285, allocations: 0 / 400.9 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.285, allocations: 27.92 kB / 400.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.2853, allocations: 19.97 kB / 401 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.2881, allocations: 1.78 MB / 402.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2884, allocations: 0.6866 MB / 403.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.2885, allocations: 19.97 kB / 403.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2885, allocations: 19.44 kB / 403.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2885, allocations: 0 / 403.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.498/1.786, allocations: 29.31 MB / 432.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.157/10.94, allocations: 0 / 432.8 MB, free: 15.04 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > 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/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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches