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: 108.6 kB / 21.22 MB, free: 0.7305 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.001284/0.001284, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.312/1.312, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001416/0.001416, allocations: 52.06 kB / 371.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2175, allocations: 52.19 MB / 423.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002377/0.2199, allocations: 1.367 MB / 424.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.2333, allocations: 12.18 MB / 437 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.2333, allocations: 4 kB / 437 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.2333, allocations: 3.938 kB / 437 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.2359, allocations: 1.039 MB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.2373, allocations: 0.6487 MB / 438.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2374, allocations: 59.73 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.2374, allocations: 3.984 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.2375, allocations: 27.92 kB / 438.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.2376, allocations: 35.89 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2376, allocations: 7.938 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.2402, allocations: 1.643 MB / 440.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.2402, allocations: 15.92 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.2403, allocations: 27.91 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2418, allocations: 1.076 MB / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2418, allocations: 0 / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2418, allocations: 0 / 441.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2418, allocations: 0 / 441.5 MB, free: 12.52 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.0007296/0.2426, allocations: 488.2 kB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2426, allocations: 8.031 kB / 442 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.2426, allocations: 192 / 442 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.2427, allocations: 34.75 kB / 442.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2428, allocations: 20.86 kB / 442.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2429, allocations: 122.4 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2429, allocations: 4.375 kB / 442.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.243, allocations: 8.125 kB / 442.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2431, allocations: 59.39 kB / 442.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2431, allocations: 0 / 442.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2431, allocations: 4 kB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2431, allocations: 0 / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.2433, allocations: 27.92 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.2434, allocations: 145.7 kB / 442.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2437, allocations: 77.12 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.2438, allocations: 37.7 kB / 442.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005479/0.2493, allocations: 1.498 MB / 444.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.2493, allocations: 38.56 kB / 444.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.2493, allocations: 0 / 444.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000344/0.2496, allocations: 85.56 kB / 444.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2497, allocations: 77.11 kB / 444.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2498, allocations: 113.8 kB / 444.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.2498, allocations: 25.7 kB / 444.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.2499, allocations: 88.12 kB / 444.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.25, allocations: 19.8 kB / 444.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.25, allocations: 25.7 kB / 444.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2502, allocations: 314.8 kB / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.2502, allocations: 15.98 kB / 444.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.2503, allocations: 21.72 kB / 444.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2504, allocations: 37.64 kB / 444.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2504, allocations: 0 / 444.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001721/0.2506, allocations: 77.61 kB / 445 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.2506, allocations: 12 kB / 445 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2506, allocations: 4 kB / 445 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2506, allocations: 3.938 kB / 445 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.2507, allocations: 11.98 kB / 445 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2507, allocations: 0 / 445 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.2507, allocations: 7.953 kB / 445 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2507, allocations: 0 / 445 MB, free: 8.816 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.0001057/0.2509, allocations: 113.8 kB / 445.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2509, allocations: 11.92 kB / 445.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.2512, allocations: 110.3 kB / 445.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2512, allocations: 3.984 kB / 445.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2512, allocations: 0 / 445.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2512, allocations: 0 / 445.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2513, allocations: 152.6 kB / 445.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2513, allocations: 48 / 445.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.2514, allocations: 15.98 kB / 445.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2514, allocations: 0 / 445.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2514, allocations: 4 kB / 445.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2514, allocations: 3.984 kB / 445.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2514, allocations: 0 / 445.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.2516, allocations: 101.9 kB / 445.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.2517, allocations: 15.94 kB / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2517, allocations: 0 / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.2518, allocations: 7.984 kB / 445.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.2518, allocations: 7.984 kB / 445.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2518, allocations: 4 kB / 445.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.2519, allocations: 87.28 kB / 445.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2519, allocations: 0 / 445.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001011/0.2529, allocations: 338.8 kB / 446 MB, free: 7.777 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.001608/0.2545, allocations: 1.119 MB / 447.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.2547, allocations: 31.98 kB / 447.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2547, allocations: 0 / 447.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.2547, allocations: 23.92 kB / 447.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.2549, allocations: 15.98 kB / 447.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.2568, allocations: 1.45 MB / 448.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.2572, allocations: 0.6846 MB / 449.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.2573, allocations: 48.09 kB / 449.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2574, allocations: 27.42 kB / 449.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2574, allocations: 0 / 449.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.288, allocations: 10.7 MB / 460.1 MB, free: 9.656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 6.812 kB / 460.1 MB, free: 9.652 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: 18.014960568980314]