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.001061/0.001061, allocations: 116.5 kB / 16.63 MB, free: 6.945 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.001085/0.001085, allocations: 197.8 kB / 17.55 MB, free: 6.043 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.219/1.219, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000886/0.000886, allocations: 41.31 kB / 300.2 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07245/0.07335, allocations: 49.45 MB / 349.7 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00202/0.0754, allocations: 1.437 MB / 351.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1501/0.2256, allocations: 23.62 MB / 374.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.2256, allocations: 1.062 kB / 374.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.895e-05/0.2257, allocations: 10.48 kB / 374.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.237, allocations: 5.387 MB / 380.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006002/0.2376, allocations: 317.8 kB / 380.4 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.731e-05/0.2377, allocations: 76.39 kB / 380.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.002e-05/0.2378, allocations: 3.141 kB / 380.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.492e-05/0.2378, allocations: 35.67 kB / 380.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.2379, allocations: 45.22 kB / 380.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2379, allocations: 2.531 kB / 380.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.2492, allocations: 8.801 MB / 389.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.2492, allocations: 19.05 kB / 389.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.2493, allocations: 32.88 kB / 389.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.254, allocations: 4.45 MB / 393.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.254, allocations: 0 / 393.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2541, allocations: 0 / 393.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2541, allocations: 0 / 393.9 MB, free: 4.32 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.0013/0.2554, allocations: 0.903 MB / 394.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2554, allocations: 8.719 kB / 394.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.281e-05/0.2554, allocations: 36.36 kB / 394.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2555, allocations: 7.344 kB / 394.9 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2556, allocations: 207.2 kB / 395.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.2556, allocations: 1.719 kB / 395.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2556, allocations: 1.812 kB / 395.1 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2558, allocations: 76.28 kB / 395.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.2558, allocations: 1.938 kB / 395.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.2558, allocations: 0 / 395.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2558, allocations: 0 / 395.1 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.2559, allocations: 41.03 kB / 395.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.256, allocations: 183.7 kB / 395.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.2563, allocations: 97.86 kB / 395.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.2563, allocations: 31.77 kB / 395.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.2564, allocations: 12.03 kB / 395.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/0.2564, allocations: 41.09 kB / 395.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2564, allocations: 0 / 395.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002516/0.2567, allocations: 105.6 kB / 395.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.2567, allocations: 77.11 kB / 395.7 MB, free: 2.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.2568, allocations: 138.5 kB / 395.9 MB, free: 2.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2568, allocations: 33.7 kB / 395.9 MB, free: 2.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.2568, allocations: 83.61 kB / 396 MB, free: 2.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2568, allocations: 19.52 kB / 396 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.2569, allocations: 22.86 kB / 396 MB, free: 2.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.2569, allocations: 318.8 kB / 396.3 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.155e-05/0.257, allocations: 20.77 kB / 396.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.257, allocations: 32.64 kB / 396.4 MB, free: 2.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.2571, allocations: 60.16 kB / 396.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2571, allocations: 0 / 396.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001484/0.2573, allocations: 77.38 kB / 396.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.2573, allocations: 6.219 kB / 396.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2573, allocations: 0 / 396.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2573, allocations: 2.25 kB / 396.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.2574, allocations: 11.38 kB / 396.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2574, allocations: 5.047 kB / 396.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/0.2575, allocations: 9.156 kB / 396.5 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2575, allocations: 8.219 kB / 396.6 MB, free: 2.012 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.41e-05/0.2575, allocations: 112.2 kB / 396.7 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.2575, allocations: 8.062 kB / 396.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.2577, allocations: 102.8 kB / 396.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2578, allocations: 3 kB / 396.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2578, allocations: 0 / 396.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2578, allocations: 4 kB / 396.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.548e-05/0.2578, allocations: 180 kB / 397 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2579, allocations: 3.984 kB / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.2579, allocations: 8.406 kB / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2579, allocations: 2.781 kB / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2579, allocations: 0 / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2579, allocations: 2.25 kB / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2579, allocations: 0 / 397 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2581, allocations: 122.3 kB / 397.1 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.2582, allocations: 87.75 kB / 397.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2582, allocations: 2.75 kB / 397.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.2583, allocations: 10.58 kB / 397.2 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.2583, allocations: 6.875 kB / 397.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2583, allocations: 2.875 kB / 397.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.434e-05/0.2584, allocations: 112.4 kB / 397.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 397.3 MB, free: 1.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001448/0.2598, allocations: 0.9439 MB / 398.2 MB, free: 1.082 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.003499/0.2633, allocations: 1.887 MB / 400.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.2635, allocations: 54 kB / 400.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2635, allocations: 0 / 400.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.781e-05/0.2636, allocations: 19.98 kB / 400.2 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.2638, allocations: 16 kB / 400.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2658, allocations: 1.797 MB / 402 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.266, allocations: 0.6827 MB / 402.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.2661, allocations: 19.97 kB / 402.7 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.2661, allocations: 19.44 kB / 402.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2661, allocations: 0 / 402.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.063/2.329, allocations: 29.2 MB / 431.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/2.33, allocations: 250.5 kB / 432.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/6.204, allocations: 0 / 432.2 MB, free: 15.63 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