Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_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.001103/0.001107, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001083/0.001083, allocations: 191 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.91 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.08004, allocations: 46.61 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002356/0.08243, allocations: 1.357 MB / 376 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.165/0.2475, allocations: 12.08 MB / 388.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.2476, allocations: 0 / 388.1 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2476, allocations: 13.98 kB / 388.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.2504, allocations: 1.044 MB / 389.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.2518, allocations: 0.6308 MB / 389.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.252, allocations: 63.58 kB / 389.8 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.252, allocations: 7.953 kB / 389.8 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.2521, allocations: 27.86 kB / 389.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.2522, allocations: 31.97 kB / 389.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2522, allocations: 2.219 kB / 389.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.255, allocations: 1.615 MB / 391.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.255, allocations: 9.078 kB / 391.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.255, allocations: 29.38 kB / 391.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2567, allocations: 1.065 MB / 392.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2567, allocations: 0 / 392.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2567, allocations: 0 / 392.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2567, allocations: 5 kB / 392.6 MB, free: 4.242 MB / 318.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.000605/0.2573, allocations: 0.534 MB / 393.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2573, allocations: 10.38 kB / 393.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.2574, allocations: 40.69 kB / 393.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2575, allocations: 13.81 kB / 393.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.2576, allocations: 184.7 kB / 393.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2576, allocations: 5.375 kB / 393.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.2576, allocations: 2.75 kB / 393.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2578, allocations: 68.39 kB / 393.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2578, allocations: 3.781 kB / 393.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2578, allocations: 5.125 kB / 393.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2578, allocations: 1.094 kB / 393.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.2579, allocations: 23.38 kB / 393.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.2581, allocations: 171.1 kB / 393.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.2583, allocations: 83.59 kB / 393.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.2584, allocations: 25.09 kB / 393.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005846/0.2643, allocations: 3.291 MB / 397.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2643, allocations: 41.86 kB / 397.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2643, allocations: 0 / 397.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003176/0.2646, allocations: 81.94 kB / 397.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2647, allocations: 82.27 kB / 397.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.2648, allocations: 115.1 kB / 397.4 MB, free: 404 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2648, allocations: 27.02 kB / 397.4 MB, free: 372 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.446e-05/0.2648, allocations: 82.3 kB / 397.5 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.2649, allocations: 20.92 kB / 397.5 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.2649, allocations: 20.33 kB / 397.5 MB, free: 252 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.265, allocations: 316.9 kB / 397.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.2651, allocations: 13.52 kB / 397.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.2651, allocations: 34.42 kB / 397.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.2652, allocations: 34.31 kB / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2653, allocations: 0.9375 kB / 397.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001753/0.2654, allocations: 77.95 kB / 398 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2655, allocations: 5.469 kB / 398 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2655, allocations: 8.734 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2655, allocations: 1.094 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.2656, allocations: 10.84 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2656, allocations: 1.984 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.2656, allocations: 5.031 kB / 398 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2657, allocations: 9.828 kB / 398 MB, free: 15.81 MB / 334.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 7.642e-05/0.2657, allocations: 112.7 kB / 398.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2658, allocations: 7.922 kB / 398.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.266, allocations: 116.3 kB / 398.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2661, allocations: 1.281 kB / 398.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2661, allocations: 0 / 398.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2661, allocations: 2.047 kB / 398.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.2662, allocations: 169.7 kB / 398.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2662, allocations: 1.953 kB / 398.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.2663, allocations: 14.42 kB / 398.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2663, allocations: 5.672 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2663, allocations: 1.875 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.2663, allocations: 1.625 kB / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2663, allocations: 0 / 398.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2666, allocations: 100.2 kB / 398.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.2666, allocations: 91.84 kB / 398.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2667, allocations: 6.422 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.2667, allocations: 5.344 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2668, allocations: 10.09 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.2668, allocations: 3.891 kB / 398.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.2669, allocations: 91.27 kB / 398.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2669, allocations: 0 / 398.8 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009153/0.2678, allocations: 318.1 kB / 399.1 MB, free: 15.06 MB / 334.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.0014/0.2692, allocations: 1.118 MB / 400.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.2694, allocations: 38.09 kB / 400.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2694, allocations: 3.938 kB / 400.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.2695, allocations: 20.45 kB / 400.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.2697, allocations: 15.72 kB / 400.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2713, allocations: 1.453 MB / 401.7 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2716, allocations: 0.6824 MB / 402.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.2717, allocations: 50.53 kB / 402.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.2718, allocations: 24.8 kB / 402.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2718, allocations: 0 / 402.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.3074, allocations: 10.55 MB / 413 MB, free: 7.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.004, allocations: 13.78 kB / 413 MB, free: 7.32 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches