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.001492/0.001492, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001321/0.001321, allocations: 190.8 kB / 24.49 MB, free: 3.98 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.324/1.324, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 39.94 kB / 371.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2181, allocations: 52.19 MB / 423.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002332/0.2204, allocations: 1.332 MB / 424.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.2326, allocations: 10.67 MB / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.2327, allocations: 0 / 435.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.2327, allocations: 7.922 kB / 435.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2356, allocations: 1.024 MB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2371, allocations: 0.6373 MB / 437 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2372, allocations: 71.64 kB / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.2372, allocations: 0 / 437.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.2373, allocations: 27.92 kB / 437.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.2374, allocations: 35.89 kB / 437.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2374, allocations: 4 kB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.2399, allocations: 1.561 MB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.2399, allocations: 11.98 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.2399, allocations: 23.86 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.2416, allocations: 1.048 MB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2416, allocations: 0 / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2416, allocations: 0 / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2416, allocations: 4 kB / 439.8 MB, free: 13.93 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.0007311/0.2424, allocations: 488.2 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2424, allocations: 8.031 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.752e-05/0.2424, allocations: 192 / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.2425, allocations: 42.73 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2426, allocations: 4.938 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2427, allocations: 126.4 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.2427, allocations: 384 / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2427, allocations: 8.125 kB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.2429, allocations: 118.8 kB / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2429, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2429, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2429, allocations: 0 / 440.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.243, allocations: 27.92 kB / 440.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.2432, allocations: 141.7 kB / 440.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.2435, allocations: 77.19 kB / 440.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.2436, allocations: 33.66 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005878/0.2494, allocations: 1.502 MB / 442.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2495, allocations: 34.56 kB / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2495, allocations: 0 / 442.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002998/0.2498, allocations: 89.81 kB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2498, allocations: 89.11 kB / 442.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.2499, allocations: 110.1 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2499, allocations: 29.64 kB / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.25, allocations: 96.12 kB / 442.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.25, allocations: 23.73 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.2501, allocations: 25.7 kB / 442.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2502, allocations: 310.8 kB / 443.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.2503, allocations: 11.98 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.2503, allocations: 25.7 kB / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2504, allocations: 45.64 kB / 443.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2504, allocations: 0 / 443.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001693/0.2506, allocations: 69.61 kB / 443.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2506, allocations: 8 kB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2506, allocations: 3.938 kB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2506, allocations: 0 / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.2507, allocations: 8 kB / 443.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2507, allocations: 8.062 kB / 443.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.2507, allocations: 7.938 kB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2508, allocations: 4 kB / 443.3 MB, free: 10.15 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 8.324e-05/0.2508, allocations: 113.8 kB / 443.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2509, allocations: 7.938 kB / 443.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.2511, allocations: 105.5 kB / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2511, allocations: 0 / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2511, allocations: 0 / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2511, allocations: 4 kB / 443.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2513, allocations: 140.6 kB / 443.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2513, allocations: 0 / 443.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.2513, allocations: 11.98 kB / 443.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2513, allocations: 4 kB / 443.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2513, allocations: 0 / 443.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2513, allocations: 0 / 443.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2513, allocations: 0 / 443.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.2515, allocations: 106.1 kB / 443.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.2516, allocations: 15.94 kB / 443.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.2516, allocations: 4.188 kB / 443.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.2517, allocations: 8 kB / 443.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2517, allocations: 11.97 kB / 443.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.2517, allocations: 8 kB / 443.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.2518, allocations: 95.2 kB / 444 MB, free: 9.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2518, allocations: 0 / 444 MB, free: 9.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007303/0.2525, allocations: 330.8 kB / 444.3 MB, free: 9.121 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.001522/0.254, allocations: 1.112 MB / 445.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.2542, allocations: 35.95 kB / 445.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2542, allocations: 0 / 445.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.2543, allocations: 23.88 kB / 445.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.2544, allocations: 14.48 kB / 445.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.2561, allocations: 1.461 MB / 446.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.2562, allocations: 75.27 kB / 447 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2563, allocations: 44.11 kB / 447 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.2564, allocations: 23.42 kB / 447.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2564, allocations: 4 kB / 447.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.2879, allocations: 10.79 MB / 457.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.43, allocations: 4.062 kB / 457.9 MB, free: 11.52 MB / 366.1 MB " [Timeout remaining time 648] (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: 18.408568906015716]