Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 213.5 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 59.91 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.228, allocations: 53.41 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.003481/0.2315, allocations: 1.351 MB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.251, allocations: 10.7 MB / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.251, allocations: 0 / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.2511, allocations: 3.938 kB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.255, allocations: 1.024 MB / 445 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.2568, allocations: 0.6411 MB / 445.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.2569, allocations: 63.72 kB / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.257, allocations: 0 / 445.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.257, allocations: 39.84 kB / 445.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2571, allocations: 31.89 kB / 445.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2572, allocations: 8 kB / 445.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.2614, allocations: 1.553 MB / 447.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.2615, allocations: 15.92 kB / 447.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.2615, allocations: 27.84 kB / 447.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.2645, allocations: 1.048 MB / 448.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2645, allocations: 0 / 448.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2645, allocations: 0 / 448.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2645, allocations: 4 kB / 448.4 MB, free: 5.887 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.0009568/0.2655, allocations: 488.2 kB / 448.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2655, allocations: 12.03 kB / 448.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.381e-05/0.2655, allocations: 192 / 448.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.2656, allocations: 34.75 kB / 448.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.2657, allocations: 12.88 kB / 448.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.2659, allocations: 122.5 kB / 449.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2659, allocations: 4.375 kB / 449.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.266, allocations: 4.125 kB / 449.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.2662, allocations: 118.7 kB / 449.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2662, allocations: 0 / 449.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2662, allocations: 4 kB / 449.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2662, allocations: 4 kB / 449.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.2664, allocations: 19.98 kB / 449.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.2666, allocations: 141.7 kB / 449.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.267, allocations: 81.12 kB / 449.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.2671, allocations: 37.7 kB / 449.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007695/0.2748, allocations: 1.502 MB / 451 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.2749, allocations: 42.48 kB / 451 MB, free: 3.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/0.2749, allocations: 0 / 451 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000453/0.2753, allocations: 77.66 kB / 451.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.2754, allocations: 85.05 kB / 451.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2756, allocations: 113.8 kB / 451.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2756, allocations: 25.7 kB / 451.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.2757, allocations: 88.12 kB / 451.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.2757, allocations: 19.8 kB / 451.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.2758, allocations: 25.72 kB / 451.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2759, allocations: 314.8 kB / 451.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.276, allocations: 12 kB / 451.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.2761, allocations: 25.7 kB / 451.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2763, allocations: 33.7 kB / 451.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2763, allocations: 0 / 451.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003235/0.2766, allocations: 77.5 kB / 451.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2766, allocations: 11.94 kB / 451.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2766, allocations: 4 kB / 451.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2766, allocations: 0 / 451.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.2767, allocations: 11.98 kB / 451.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2767, allocations: 7.938 kB / 451.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.2768, allocations: 0 / 451.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.2768, allocations: 4 kB / 451.9 MB, free: 2.117 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.0001102/0.2769, allocations: 109.8 kB / 452 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.277, allocations: 11.89 kB / 452 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.2774, allocations: 109.9 kB / 452.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2774, allocations: 0 / 452.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2774, allocations: 7.922 kB / 452.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2774, allocations: 4 kB / 452.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2776, allocations: 140.7 kB / 452.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2776, allocations: 0 / 452.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2777, allocations: 11.94 kB / 452.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2777, allocations: 4.562 kB / 452.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2777, allocations: 4 kB / 452.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2777, allocations: 0 / 452.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2777, allocations: 3.984 kB / 452.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.278, allocations: 101.9 kB / 452.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.278, allocations: 16.09 kB / 452.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.2781, allocations: 8 kB / 452.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.2782, allocations: 7.984 kB / 452.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.2782, allocations: 4 kB / 452.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.2782, allocations: 7.984 kB / 452.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.859e-05/0.2783, allocations: 91.22 kB / 452.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2783, allocations: 4 kB / 452.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001231/0.2796, allocations: 330.8 kB / 452.9 MB, free: 1.078 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.002746/0.2823, allocations: 1.112 MB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.2826, allocations: 31.92 kB / 454 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2826, allocations: 4 kB / 454 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.742e-05/0.2827, allocations: 23.92 kB / 454.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.283, allocations: 15.94 kB / 454.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.2859, allocations: 1.465 MB / 455.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.393e-05/0.286, allocations: 70.39 kB / 455.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.2862, allocations: 48.09 kB / 455.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.2863, allocations: 27.42 kB / 455.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2863, allocations: 0 / 455.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04415/0.3304, allocations: 10.8 MB / 466.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.58, allocations: 10.59 kB / 466.5 MB, free: 3.434 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.6148636440048]