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.001112/0.001112, allocations: 111.8 kB / 17.06 MB, free: 5.977 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.001123/0.001123, allocations: 194.9 kB / 18 MB, free: 5.062 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.296/1.296, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 43.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2742, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002663/0.2769, allocations: 1.367 MB / 401.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02977/0.3067, allocations: 23.54 MB / 425.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.3068, allocations: 0 / 425.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.307, allocations: 7.922 kB / 425.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0158/0.3229, allocations: 5.972 MB / 431.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.3237, allocations: 342.8 kB / 431.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.3239, allocations: 75.64 kB / 431.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3239, allocations: 3.938 kB / 431.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.324, allocations: 35.91 kB / 431.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.3241, allocations: 35.89 kB / 431.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3241, allocations: 8 kB / 431.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.3396, allocations: 8.863 MB / 440.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.3397, allocations: 23.86 kB / 440.5 MB, free: 464 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.3397, allocations: 27.86 kB / 440.5 MB, free: 436 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00977/0.3495, allocations: 4.359 MB / 444.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3496, allocations: 0 / 444.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3496, allocations: 0 / 444.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3496, allocations: 0 / 444.9 MB, free: 12.06 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.00233/0.3519, allocations: 0.9124 MB / 445.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.352, allocations: 12.03 kB / 445.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.352, allocations: 34.73 kB / 445.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.3521, allocations: 8.844 kB / 445.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3523, allocations: 203.6 kB / 446 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3523, allocations: 0 / 446 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3523, allocations: 4 kB / 446 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3525, allocations: 67.38 kB / 446.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3525, allocations: 0 / 446.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3526, allocations: 8 kB / 446.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.3526, allocations: 3.984 kB / 446.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3527, allocations: 35.92 kB / 446.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.3529, allocations: 186.5 kB / 446.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.3533, allocations: 97.17 kB / 446.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.3534, allocations: 33.7 kB / 446.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.3534, allocations: 15.98 kB / 446.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3535, allocations: 38.56 kB / 446.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3535, allocations: 0 / 446.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003397/0.3538, allocations: 101.5 kB / 446.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3539, allocations: 81.11 kB / 446.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.354, allocations: 133.8 kB / 446.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.354, allocations: 33.7 kB / 446.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.3541, allocations: 84.52 kB / 446.9 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3541, allocations: 15.75 kB / 447 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.3542, allocations: 21.7 kB / 447 MB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.3543, allocations: 318.8 kB / 447.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.3543, allocations: 23.92 kB / 447.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.3544, allocations: 37.64 kB / 447.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3545, allocations: 53.64 kB / 447.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3546, allocations: 0 / 447.4 MB, free: 9.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001997/0.3548, allocations: 89.5 kB / 447.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3548, allocations: 4 kB / 447.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3548, allocations: 0 / 447.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3548, allocations: 0 / 447.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.3549, allocations: 12 kB / 447.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3549, allocations: 0 / 447.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.3549, allocations: 8.453 kB / 447.5 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.355, allocations: 4 kB / 447.5 MB, free: 9.141 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 9.202e-05/0.3551, allocations: 117.8 kB / 447.6 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3551, allocations: 7.906 kB / 447.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.3554, allocations: 105.4 kB / 447.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3554, allocations: 0 / 447.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3554, allocations: 0 / 447.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3554, allocations: 4 kB / 447.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.3555, allocations: 177.6 kB / 447.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3556, allocations: 4 kB / 447.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3556, allocations: 11.98 kB / 447.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3556, allocations: 0 / 447.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3556, allocations: 0 / 447.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3557, allocations: 7.938 kB / 447.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3557, allocations: 0 / 447.9 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3559, allocations: 117.8 kB / 448.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.356, allocations: 85.09 kB / 448.1 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.356, allocations: 0 / 448.1 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3561, allocations: 7.984 kB / 448.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3561, allocations: 8 kB / 448.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3561, allocations: 192 / 448.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.338e-05/0.3562, allocations: 115.2 kB / 448.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3562, allocations: 4 kB / 448.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002419/0.3586, allocations: 0.9333 MB / 449.2 MB, free: 7.348 MB / 366.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.005456/0.3641, allocations: 1.894 MB / 451.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.3644, allocations: 51.89 kB / 451.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3644, allocations: 0 / 451.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.3645, allocations: 23.98 kB / 451.2 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3647, allocations: 15.98 kB / 451.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3676, allocations: 1.79 MB / 453 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3678, allocations: 0.6807 MB / 453.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.3679, allocations: 19.97 kB / 453.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.3679, allocations: 19.44 kB / 453.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3679, allocations: 0 / 453.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.4215, allocations: 29.29 MB / 483 MB, free: 5.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.01, allocations: 10.42 kB / 483 MB, free: 5.469 MB / 398.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