Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",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.00101/0.00101, allocations: 102.1 kB / 16.62 MB, free: 6.809 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.0009376/0.0009375, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.227/1.227, allocations: 222.9 MB / 241.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009058/0.0009058, allocations: 50 kB / 300.2 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07601/0.07693, allocations: 49.44 MB / 349.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002089/0.07905, allocations: 1.414 MB / 351.1 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.08921, allocations: 12.01 MB / 363.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.08925, allocations: 0 / 363.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.08927, allocations: 0 / 363.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.09123, allocations: 0.9222 MB / 364 MB, free: 6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.0922, allocations: 0.5523 MB / 364.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.09229, allocations: 67.66 kB / 364.6 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.825e-05/0.09232, allocations: 3.984 kB / 364.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.09237, allocations: 27.92 kB / 364.7 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.09244, allocations: 35.89 kB / 364.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.09246, allocations: 4 kB / 364.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.09443, allocations: 1.588 MB / 366.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.09445, allocations: 7.984 kB / 366.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.09449, allocations: 31.84 kB / 366.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.09576, allocations: 1.068 MB / 367.4 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09578, allocations: 4 kB / 367.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09578, allocations: 0 / 367.4 MB, free: 2.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.09579, allocations: 0 / 367.4 MB, free: 2.605 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.0005668/0.09637, allocations: 0.5418 MB / 368 MB, free: 2.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.09641, allocations: 12.03 kB / 368 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.09644, allocations: 34.75 kB / 368 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.09655, allocations: 16.83 kB / 368 MB, free: 1.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.09667, allocations: 180.2 kB / 368.2 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.09669, allocations: 4.359 kB / 368.2 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.09671, allocations: 4.375 kB / 368.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.09685, allocations: 67.33 kB / 368.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.09686, allocations: 0 / 368.3 MB, free: 1.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.09688, allocations: 7.922 kB / 368.3 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09689, allocations: 4 kB / 368.3 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.811e-05/0.09699, allocations: 27.92 kB / 368.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.09715, allocations: 170.6 kB / 368.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.09739, allocations: 77.19 kB / 368.6 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.09746, allocations: 33.7 kB / 368.6 MB, free: 1.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1262/0.2237, allocations: 3.29 MB / 371.9 MB, free: 24.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2237, allocations: 36.67 kB / 371.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2237, allocations: 0 / 371.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002955/0.224, allocations: 83.45 kB / 372 MB, free: 24.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2241, allocations: 78.23 kB / 372.1 MB, free: 24.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.2241, allocations: 118.3 kB / 372.2 MB, free: 24.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2242, allocations: 26.52 kB / 372.2 MB, free: 24.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.2242, allocations: 84.52 kB / 372.3 MB, free: 24.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2242, allocations: 25.02 kB / 372.3 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.2243, allocations: 20.44 kB / 372.3 MB, free: 24.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.2243, allocations: 314.4 kB / 372.6 MB, free: 24.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.2243, allocations: 11.88 kB / 372.7 MB, free: 24.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.2244, allocations: 29.14 kB / 372.7 MB, free: 24.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.273e-05/0.2245, allocations: 41.34 kB / 372.7 MB, free: 24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2245, allocations: 0 / 372.7 MB, free: 24 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001401/0.2247, allocations: 71.52 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2247, allocations: 8 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2247, allocations: 0.75 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2247, allocations: 1.406 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.2248, allocations: 12.59 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2248, allocations: 4.75 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.2248, allocations: 3 kB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2248, allocations: 1.984 kB / 372.8 MB, free: 23.97 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.469e-05/0.2249, allocations: 120 kB / 372.9 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.2249, allocations: 11.55 kB / 373 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2251, allocations: 106.8 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2252, allocations: 0.5 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2252, allocations: 3.125 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2252, allocations: 0 / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.137e-05/0.2253, allocations: 173.5 kB / 373.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2253, allocations: 0.5938 kB / 373.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.2253, allocations: 11.58 kB / 373.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2253, allocations: 1.781 kB / 373.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.2254, allocations: 5.266 kB / 373.3 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2254, allocations: 5.094 kB / 373.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2254, allocations: 9.031 kB / 373.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.2255, allocations: 103.3 kB / 373.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.2256, allocations: 89.7 kB / 373.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2256, allocations: 3.328 kB / 373.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.2257, allocations: 2.125 kB / 373.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.2257, allocations: 14.48 kB / 373.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2257, allocations: 1.844 kB / 373.5 MB, free: 23.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.2258, allocations: 93.72 kB / 373.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2258, allocations: 0 / 373.6 MB, free: 23.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006787/0.2264, allocations: 319.7 kB / 373.9 MB, free: 23.34 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.001203/0.2277, allocations: 1.124 MB / 375 MB, free: 22.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.2278, allocations: 43.72 kB / 375 MB, free: 22.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2278, allocations: 0 / 375 MB, free: 22.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.2279, allocations: 20.16 kB / 375.1 MB, free: 22.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.2281, allocations: 14.05 kB / 375.1 MB, free: 22.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2292, allocations: 1.467 MB / 376.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.2293, allocations: 0.6827 MB / 377.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2294, allocations: 51.27 kB / 377.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.2295, allocations: 22.34 kB / 377.3 MB, free: 20.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2295, allocations: 1.375 kB / 377.3 MB, free: 20.72 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4792/0.7086, allocations: 10.38 MB / 387.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.7088, allocations: 199.2 kB / 387.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/3.691, allocations: 0 / 387.9 MB, free: 16.94 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches