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.001138/0.001138, allocations: 108.1 kB / 16.51 MB, free: 6.707 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.001089/0.001089, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.187/1.187, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009903/0.0009903, allocations: 52.48 kB / 300.1 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09325, allocations: 49.44 MB / 349.5 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002267/0.09554, allocations: 1.414 MB / 350.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1076, allocations: 12.37 MB / 363.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1077, allocations: 0 / 363.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.1077, allocations: 3.984 kB / 363.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.1105, allocations: 0.8481 MB / 364.1 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.1118, allocations: 0.5366 MB / 364.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.1119, allocations: 63.66 kB / 364.7 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.1119, allocations: 4 kB / 364.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.112, allocations: 27.91 kB / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.112, allocations: 35.89 kB / 364.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1121, allocations: 0 / 364.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.1146, allocations: 1.565 MB / 366.4 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1146, allocations: 15.91 kB / 366.4 MB, free: 3.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1146, allocations: 27.86 kB / 366.4 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1163, allocations: 1.064 MB / 367.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1164, allocations: 0 / 367.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1164, allocations: 0 / 367.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1164, allocations: 0 / 367.5 MB, free: 2.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.0006348/0.117, allocations: 0.5521 MB / 368 MB, free: 2.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1171, allocations: 8.031 kB / 368 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1171, allocations: 38.69 kB / 368.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1172, allocations: 16.83 kB / 368.1 MB, free: 2.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1174, allocations: 168.3 kB / 368.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1174, allocations: 8.359 kB / 368.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1174, allocations: 4.375 kB / 368.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1175, allocations: 63.33 kB / 368.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1176, allocations: 8 kB / 368.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1176, allocations: 0 / 368.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1176, allocations: 0 / 368.3 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1177, allocations: 23.92 kB / 368.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1179, allocations: 182.5 kB / 368.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.1182, allocations: 81.12 kB / 368.6 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.1182, allocations: 29.77 kB / 368.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1495/0.2678, allocations: 3.284 MB / 371.9 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2678, allocations: 35 kB / 372 MB, free: 24.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.2678, allocations: 1.156 kB / 372 MB, free: 24.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003259/0.2682, allocations: 83.67 kB / 372 MB, free: 24.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2682, allocations: 78.89 kB / 372.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.2683, allocations: 113.3 kB / 372.2 MB, free: 24.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2683, allocations: 31 kB / 372.3 MB, free: 24.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.2683, allocations: 82.69 kB / 372.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.2684, allocations: 27.28 kB / 372.4 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2684, allocations: 20.2 kB / 372.4 MB, free: 24.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.2685, allocations: 317.2 kB / 372.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.2685, allocations: 12.69 kB / 372.7 MB, free: 24.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.2686, allocations: 26.16 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2687, allocations: 40.41 kB / 372.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2687, allocations: 3.406 kB / 372.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/0.2689, allocations: 71.67 kB / 372.8 MB, free: 24.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2689, allocations: 4.656 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2689, allocations: 1 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.269, allocations: 2.172 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.269, allocations: 11.17 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.269, allocations: 1.469 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.2691, allocations: 5.422 kB / 372.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2691, allocations: 6.906 kB / 372.9 MB, free: 24.12 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.526e-05/0.2692, allocations: 113.9 kB / 373 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.2692, allocations: 13.22 kB / 373 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.2695, allocations: 109.2 kB / 373.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2695, allocations: 1.219 kB / 373.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2695, allocations: 0.625 kB / 373.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2695, allocations: 1.969 kB / 373.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.2696, allocations: 172.1 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2696, allocations: 2.531 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.2697, allocations: 10.2 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2697, allocations: 3.094 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2697, allocations: 6 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2697, allocations: 1.797 kB / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2697, allocations: 0 / 373.3 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.2699, allocations: 116.3 kB / 373.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.2699, allocations: 84.02 kB / 373.5 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2699, allocations: 2.047 kB / 373.5 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.27, allocations: 10.45 kB / 373.5 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2701, allocations: 6.906 kB / 373.5 MB, free: 23.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2701, allocations: 2.969 kB / 373.5 MB, free: 23.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.2701, allocations: 98.7 kB / 373.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2702, allocations: 0.9375 kB / 373.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.271, allocations: 319.5 kB / 373.9 MB, free: 23.5 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.001409/0.2724, allocations: 1.119 MB / 375.1 MB, free: 22.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.2725, allocations: 36.38 kB / 375.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2726, allocations: 0 / 375.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.2726, allocations: 24.11 kB / 375.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.2728, allocations: 13.41 kB / 375.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2741, allocations: 1.457 MB / 376.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.2742, allocations: 0.6855 MB / 377.3 MB, free: 20.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2743, allocations: 48.56 kB / 377.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2744, allocations: 22.44 kB / 377.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2744, allocations: 0 / 377.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.692/1.966, allocations: 10.31 MB / 387.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001181/1.966, allocations: 197.4 kB / 387.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/4.508, allocations: 3.938 kB / 387.8 MB, free: 17.11 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