Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 211.8 kB / 24.51 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 43.92 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2384, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002478/0.2409, allocations: 1.35 MB / 433.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.2535, allocations: 10.69 MB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.2536, allocations: 0 / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.2536, allocations: 3.938 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.2564, allocations: 1.024 MB / 444.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.2579, allocations: 0.6373 MB / 445.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.258, allocations: 67.64 kB / 445.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.258, allocations: 4 kB / 445.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.2581, allocations: 27.92 kB / 445.7 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.2582, allocations: 31.91 kB / 445.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2582, allocations: 4 kB / 445.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.2609, allocations: 1.565 MB / 447.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.261, allocations: 11.97 kB / 447.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.261, allocations: 19.94 kB / 447.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.263, allocations: 1.048 MB / 448.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.263, allocations: 0 / 448.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.263, allocations: 0 / 448.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.263, allocations: 4 kB / 448.3 MB, free: 6.098 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.0007223/0.2637, allocations: 488.2 kB / 448.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2637, allocations: 15.97 kB / 448.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.213e-05/0.2637, allocations: 192 / 448.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.2638, allocations: 38.75 kB / 448.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.2639, allocations: 12.88 kB / 448.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.264, allocations: 126.4 kB / 449 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2641, allocations: 384 / 449 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2641, allocations: 8.125 kB / 449 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.2643, allocations: 122.8 kB / 449.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2643, allocations: 0 / 449.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2643, allocations: 0 / 449.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2643, allocations: 0 / 449.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2644, allocations: 27.92 kB / 449.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.2646, allocations: 145.7 kB / 449.3 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.2649, allocations: 77.19 kB / 449.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.2649, allocations: 33.7 kB / 449.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/0.2706, allocations: 1.498 MB / 450.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2707, allocations: 42.55 kB / 451 MB, free: 3.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.2707, allocations: 0 / 451 MB, free: 3.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.271, allocations: 77.61 kB / 451 MB, free: 3.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.2711, allocations: 81.11 kB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.2712, allocations: 109.8 kB / 451.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2712, allocations: 29.7 kB / 451.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.2712, allocations: 88.12 kB / 451.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.2713, allocations: 23.78 kB / 451.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.2713, allocations: 17.72 kB / 451.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2714, allocations: 322.8 kB / 451.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.2715, allocations: 12 kB / 451.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.828e-05/0.2716, allocations: 25.77 kB / 451.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.2717, allocations: 46.02 kB / 451.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2717, allocations: 0 / 451.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001685/0.2719, allocations: 77.55 kB / 451.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2719, allocations: 8 kB / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2719, allocations: 0 / 451.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2719, allocations: 3.938 kB / 451.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.272, allocations: 15.98 kB / 451.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.272, allocations: 4.312 kB / 451.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.272, allocations: 0 / 451.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.272, allocations: 4 kB / 451.9 MB, free: 2.312 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 0.0001333/0.2722, allocations: 109.8 kB / 452 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.2722, allocations: 11.89 kB / 452 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.2725, allocations: 113.5 kB / 452.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2725, allocations: 0 / 452.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2725, allocations: 0 / 452.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2725, allocations: 4 kB / 452.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2726, allocations: 132.7 kB / 452.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2726, allocations: 3.984 kB / 452.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.2727, allocations: 15.94 kB / 452.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2727, allocations: 4 kB / 452.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.2727, allocations: 0 / 452.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2727, allocations: 0 / 452.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2727, allocations: 4 kB / 452.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.2729, allocations: 105.8 kB / 452.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.2729, allocations: 15.92 kB / 452.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2729, allocations: 4 kB / 452.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.273, allocations: 0 / 452.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.273, allocations: 11.98 kB / 452.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2731, allocations: 4 kB / 452.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.86e-05/0.2731, allocations: 91.27 kB / 452.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2731, allocations: 0 / 452.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007907/0.2739, allocations: 326.8 kB / 452.8 MB, free: 1.293 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.00158/0.2755, allocations: 1.131 MB / 454 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.2757, allocations: 27.98 kB / 454 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2757, allocations: 0 / 454 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.596e-05/0.2757, allocations: 23.92 kB / 454 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2759, allocations: 16 kB / 454 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.2778, allocations: 1.461 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.2778, allocations: 67.34 kB / 455.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.278, allocations: 52.08 kB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.278, allocations: 23.42 kB / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.278, allocations: 8 kB / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3114, allocations: 10.8 MB / 466.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.52, allocations: 12.73 kB / 466.4 MB, free: 3.668 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 18.514053702005185]