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.001684/0.001684, allocations: 116.4 kB / 18.49 MB, free: 4.66 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.001844/0.001844, allocations: 211 kB / 21.46 MB, free: 1.711 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.38/1.38, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001523/0.001523, allocations: 47.94 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.09158, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002464/0.09404, allocations: 1.374 MB / 428.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.1082, allocations: 12.16 MB / 440.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.1082, allocations: 0 / 440.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1082, allocations: 0 / 440.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.1113, allocations: 1.053 MB / 441.6 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.113, allocations: 0.6334 MB / 442.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1131, allocations: 67.64 kB / 442.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.1131, allocations: 4 kB / 442.3 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.1132, allocations: 19.98 kB / 442.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.1133, allocations: 39.83 kB / 442.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1133, allocations: 0 / 442.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.1164, allocations: 1.639 MB / 444 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.1164, allocations: 11.97 kB / 444 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.1165, allocations: 27.81 kB / 444 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.1186, allocations: 1.072 MB / 445.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1186, allocations: 0 / 445.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1186, allocations: 0 / 445.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1187, allocations: 0 / 445.1 MB, free: 2.641 MB / 366.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.0008506/0.1195, allocations: 0.556 MB / 445.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1195, allocations: 8.031 kB / 445.7 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.1196, allocations: 8.188 kB / 445.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.1196, allocations: 34.75 kB / 445.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1197, allocations: 16.88 kB / 445.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1199, allocations: 176.4 kB / 445.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1199, allocations: 384 / 445.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1199, allocations: 8.125 kB / 445.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1201, allocations: 67.33 kB / 446 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1201, allocations: 0 / 446 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1201, allocations: 4 kB / 446 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1201, allocations: 0 / 446 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1202, allocations: 23.98 kB / 446 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.1204, allocations: 178.5 kB / 446.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.1207, allocations: 81.06 kB / 446.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1208, allocations: 29.7 kB / 446.3 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1686/0.2894, allocations: 3.288 MB / 449.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2894, allocations: 41.69 kB / 449.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.2894, allocations: 0 / 449.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003359/0.2898, allocations: 80.97 kB / 449.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.2898, allocations: 82.05 kB / 449.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2899, allocations: 114.8 kB / 449.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2899, allocations: 28.52 kB / 449.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.2899, allocations: 85.67 kB / 450 MB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.2899, allocations: 24.92 kB / 450 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.29, allocations: 18.66 kB / 450 MB, free: 11.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.29, allocations: 317.2 kB / 450.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.2901, allocations: 11.5 kB / 450.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.2901, allocations: 25.36 kB / 450.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2902, allocations: 45.95 kB / 450.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2902, allocations: 0 / 450.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001554/0.2904, allocations: 72.81 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2904, allocations: 4.812 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2904, allocations: 1.156 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2904, allocations: 4.031 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.2905, allocations: 12.31 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2905, allocations: 0 / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.2905, allocations: 2.594 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.2906, allocations: 4.375 kB / 450.5 MB, free: 10.77 MB / 366.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.88e-05/0.2906, allocations: 120.3 kB / 450.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.2906, allocations: 8.047 kB / 450.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.2909, allocations: 104 kB / 450.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2909, allocations: 2.906 kB / 450.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2909, allocations: 5.094 kB / 450.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2909, allocations: 0 / 450.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.291, allocations: 173.8 kB / 450.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.291, allocations: 0.625 kB / 450.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.291, allocations: 12.23 kB / 450.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.291, allocations: 1.062 kB / 450.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.291, allocations: 1.062 kB / 450.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.291, allocations: 3.938 kB / 451 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.291, allocations: 3.844 kB / 451 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.2912, allocations: 110.2 kB / 451.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.2912, allocations: 84.39 kB / 451.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2913, allocations: 3.625 kB / 451.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.2913, allocations: 6.016 kB / 451.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.2914, allocations: 7.969 kB / 451.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2914, allocations: 5.453 kB / 451.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.2914, allocations: 93.73 kB / 451.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2914, allocations: 0 / 451.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000781/0.2922, allocations: 329.5 kB / 451.6 MB, free: 10.16 MB / 366.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.001336/0.2935, allocations: 1.126 MB / 452.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2937, allocations: 36.14 kB / 452.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2937, allocations: 0 / 452.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.2938, allocations: 16.48 kB / 452.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.294, allocations: 13.23 kB / 452.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2953, allocations: 1.47 MB / 454.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.2954, allocations: 0.6829 MB / 454.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.2955, allocations: 52.58 kB / 455 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2956, allocations: 25.7 kB / 455 MB, free: 7.566 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2956, allocations: 0 / 455 MB, free: 7.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3257, allocations: 10.58 MB / 465.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/8.523, allocations: 2.75 kB / 465.6 MB, free: 6.133 MB / 366.1 MB " [Timeout remaining time 651] (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: 15.461193672963418]