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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 51.92 kB / 370.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002381/0.2394, allocations: 1.37 MB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.2532, allocations: 12.17 MB / 436.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.2532, allocations: 4 kB / 436.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.2532, allocations: 7.938 kB / 436.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.256, allocations: 1.05 MB / 437.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2575, allocations: 0.6369 MB / 437.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2576, allocations: 67.66 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.2576, allocations: 4 kB / 437.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.2577, allocations: 35.84 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.2578, allocations: 27.91 kB / 438 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2578, allocations: 4 kB / 438 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.2607, allocations: 1.647 MB / 439.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.2608, allocations: 11.94 kB / 439.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.2608, allocations: 27.84 kB / 439.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.2627, allocations: 1.072 MB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2627, allocations: 0 / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2627, allocations: 0 / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2627, allocations: 4 kB / 440.8 MB, free: 12.41 MB / 350.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.0007237/0.2634, allocations: 492.2 kB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2635, allocations: 8.031 kB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2635, allocations: 30.75 kB / 441.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2636, allocations: 12.92 kB / 441.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2638, allocations: 122.5 kB / 441.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2638, allocations: 4.375 kB / 441.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2638, allocations: 4.375 kB / 441.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.264, allocations: 75.27 kB / 441.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.264, allocations: 0 / 441.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.264, allocations: 3.984 kB / 441.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.264, allocations: 0 / 441.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2641, allocations: 19.98 kB / 441.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.2643, allocations: 145.7 kB / 441.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.2645, allocations: 81.12 kB / 441.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.2646, allocations: 33.77 kB / 441.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005728/0.2703, allocations: 1.502 MB / 443.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2704, allocations: 34.5 kB / 443.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.2704, allocations: 0 / 443.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003003/0.2707, allocations: 85.56 kB / 443.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.2707, allocations: 81.11 kB / 443.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2708, allocations: 113.8 kB / 443.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2708, allocations: 33.7 kB / 443.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2709, allocations: 80.14 kB / 443.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2709, allocations: 27.78 kB / 443.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.271, allocations: 21.7 kB / 443.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2711, allocations: 314.8 kB / 444 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.2712, allocations: 11.98 kB / 444.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.2712, allocations: 21.84 kB / 444.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2713, allocations: 50.02 kB / 444.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2713, allocations: 0 / 444.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001663/0.2715, allocations: 73.59 kB / 444.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2715, allocations: 4 kB / 444.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2715, allocations: 4.25 kB / 444.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2715, allocations: 4 kB / 444.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.2716, allocations: 15.92 kB / 444.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2716, allocations: 0 / 444.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.2717, allocations: 11.95 kB / 444.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2717, allocations: 3.984 kB / 444.2 MB, free: 8.688 MB / 350.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.366e-05/0.2718, allocations: 117.8 kB / 444.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2718, allocations: 7.938 kB / 444.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.272, allocations: 101.6 kB / 444.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.272, allocations: 0 / 444.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2721, allocations: 4 kB / 444.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2721, allocations: 0 / 444.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2722, allocations: 136.7 kB / 444.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2722, allocations: 3.938 kB / 444.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.2723, allocations: 15.94 kB / 444.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2723, allocations: 0 / 444.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2723, allocations: 7.984 kB / 444.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.2723, allocations: 4 kB / 444.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2723, allocations: 7.938 kB / 444.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.2725, allocations: 85.98 kB / 444.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.2725, allocations: 19.88 kB / 444.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2725, allocations: 4 kB / 444.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.2726, allocations: 3.984 kB / 444.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.2726, allocations: 15.92 kB / 444.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2726, allocations: 4 kB / 444.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.8e-05/0.2727, allocations: 91.28 kB / 444.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2727, allocations: 0 / 444.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008044/0.2735, allocations: 334.8 kB / 445.2 MB, free: 7.66 MB / 350.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.00151/0.275, allocations: 1.116 MB / 446.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.2752, allocations: 35.92 kB / 446.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2752, allocations: 0 / 446.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.2753, allocations: 23.92 kB / 446.4 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.2754, allocations: 11.98 kB / 446.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.2771, allocations: 1.458 MB / 447.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.2774, allocations: 0.6811 MB / 448.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.2776, allocations: 56.08 kB / 448.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.2776, allocations: 27.42 kB / 448.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2776, allocations: 0 / 448.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.3147, allocations: 10.66 MB / 459.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.16, allocations: 4 kB / 459.3 MB, free: 9.551 MB / 366.1 MB " [Timeout remaining time 649] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.497649950208142]