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.001648/0.001648, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001888/0.001888, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.406/1.406, allocations: 230.2 MB / 254.5 MB, free: 15.26 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 55.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.0964, allocations: 53.32 MB / 426.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002554/0.09895, allocations: 1.377 MB / 428 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1899/0.2888, allocations: 12.15 MB / 440.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.2889, allocations: 0 / 440.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2889, allocations: 2.297 kB / 440.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.292, allocations: 1.04 MB / 441.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.2937, allocations: 0.6401 MB / 441.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2938, allocations: 58.53 kB / 441.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2938, allocations: 7.281 kB / 441.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.721e-05/0.2939, allocations: 25.47 kB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.2939, allocations: 36.97 kB / 442 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.294, allocations: 2.75 kB / 442 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.2973, allocations: 1.628 MB / 443.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2973, allocations: 11.95 kB / 443.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.2974, allocations: 23.56 kB / 443.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.2997, allocations: 1.081 MB / 444.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2997, allocations: 0.5312 kB / 444.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2997, allocations: 3.938 kB / 444.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2997, allocations: 0.5 kB / 444.7 MB, free: 2.836 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.0008028/0.3005, allocations: 0.5526 MB / 445.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3005, allocations: 9.875 kB / 445.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.3006, allocations: 36.58 kB / 445.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3007, allocations: 17.48 kB / 445.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.3008, allocations: 173.4 kB / 445.5 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3008, allocations: 5.438 kB / 445.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3008, allocations: 3.625 kB / 445.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.301, allocations: 68.36 kB / 445.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.301, allocations: 5.031 kB / 445.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.301, allocations: 0 / 445.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.301, allocations: 1.125 kB / 445.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3011, allocations: 20.86 kB / 445.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3012, allocations: 184.4 kB / 445.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3015, allocations: 78.56 kB / 445.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3015, allocations: 23.88 kB / 445.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006237/0.3078, allocations: 3.294 MB / 449.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3078, allocations: 40.66 kB / 449.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.3078, allocations: 4 kB / 449.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003405/0.3082, allocations: 81.52 kB / 449.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.3082, allocations: 77.67 kB / 449.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3083, allocations: 115.3 kB / 449.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3084, allocations: 27.08 kB / 449.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.3084, allocations: 82.56 kB / 449.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3084, allocations: 28.12 kB / 449.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.3085, allocations: 24.03 kB / 449.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3086, allocations: 313.7 kB / 450 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.3087, allocations: 13.25 kB / 450 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.3087, allocations: 24.89 kB / 450 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3088, allocations: 37.06 kB / 450.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3088, allocations: 1.5 kB / 450.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001937/0.309, allocations: 85.52 kB / 450.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.309, allocations: 6.375 kB / 450.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.309, allocations: 0.7031 kB / 450.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3091, allocations: 0 / 450.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3091, allocations: 13.75 kB / 450.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3091, allocations: 0.625 kB / 450.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.762e-05/0.3092, allocations: 2.094 kB / 450.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.3092, allocations: 3.234 kB / 450.2 MB, free: 14.4 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 8.888e-05/0.3093, allocations: 120.9 kB / 450.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.3093, allocations: 11.83 kB / 450.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3096, allocations: 106.9 kB / 450.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3096, allocations: 1.188 kB / 450.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3096, allocations: 1.75 kB / 450.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3096, allocations: 0 / 450.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3097, allocations: 171.2 kB / 450.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3097, allocations: 1.812 kB / 450.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3098, allocations: 18.86 kB / 450.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3098, allocations: 2.141 kB / 450.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.3098, allocations: 2.266 kB / 450.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3098, allocations: 1.156 kB / 450.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3098, allocations: 6.469 kB / 450.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.31, allocations: 102.7 kB / 450.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.3101, allocations: 88.12 kB / 450.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3101, allocations: 2.062 kB / 450.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.3102, allocations: 3.344 kB / 450.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.3102, allocations: 11.2 kB / 450.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3102, allocations: 3.188 kB / 450.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.3103, allocations: 91.47 kB / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3103, allocations: 0 / 450.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3114, allocations: 326.2 kB / 451.2 MB, free: 13.64 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.001781/0.3132, allocations: 1.132 MB / 452.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3134, allocations: 35.97 kB / 452.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3134, allocations: 0 / 452.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.3135, allocations: 19.59 kB / 452.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.3137, allocations: 10.88 kB / 452.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3156, allocations: 1.471 MB / 453.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3159, allocations: 0.6852 MB / 454.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.316, allocations: 47.66 kB / 454.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.316, allocations: 28.73 kB / 454.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.316, allocations: 96 / 454.6 MB, free: 10.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.3543, allocations: 10.54 MB / 465.2 MB, free: 6.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.612, allocations: 12.23 kB / 465.2 MB, free: 6.422 MB / 366.1 MB " [Timeout remaining time 651] (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_2/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_2/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: 14.005557723809034]