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.001323/0.001323, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001493/0.001493, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.379/1.379, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.001827/0.001827, allocations: 67.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2582, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002424/0.2606, allocations: 1.371 MB / 432.6 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.2759, allocations: 12.21 MB / 444.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.276, allocations: 4 kB / 444.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.276, allocations: 7.984 kB / 444.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.2793, allocations: 1.045 MB / 445.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.281, allocations: 0.6344 MB / 446.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2811, allocations: 67.7 kB / 446.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.2811, allocations: 4 kB / 446.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.2812, allocations: 27.92 kB / 446.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.2813, allocations: 35.89 kB / 446.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2813, allocations: 4 kB / 446.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.2844, allocations: 1.643 MB / 448.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2844, allocations: 15.92 kB / 448.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.2845, allocations: 23.86 kB / 448.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.2863, allocations: 1.08 MB / 449.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2863, allocations: 0 / 449.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2863, allocations: 0 / 449.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.2863, allocations: 7.938 kB / 449.4 MB, free: 4.426 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.0007368/0.2871, allocations: 488.2 kB / 449.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2871, allocations: 8.031 kB / 449.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.2872, allocations: 34.73 kB / 449.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2873, allocations: 16.89 kB / 449.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2874, allocations: 110.5 kB / 450 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2874, allocations: 8.375 kB / 450 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2874, allocations: 384 / 450 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2876, allocations: 79.2 kB / 450.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2876, allocations: 3.984 kB / 450.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2876, allocations: 4 kB / 450.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2876, allocations: 0 / 450.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.2877, allocations: 19.97 kB / 450.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.2879, allocations: 153.6 kB / 450.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2882, allocations: 81.12 kB / 450.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.2883, allocations: 21.78 kB / 450.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/0.294, allocations: 1.505 MB / 451.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.294, allocations: 38.56 kB / 451.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.294, allocations: 0 / 451.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002989/0.2943, allocations: 81.59 kB / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.2944, allocations: 81.11 kB / 452.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2945, allocations: 121.8 kB / 452.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2945, allocations: 29.7 kB / 452.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.2945, allocations: 80.14 kB / 452.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2946, allocations: 23.8 kB / 452.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.2946, allocations: 21.7 kB / 452.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2948, allocations: 314.8 kB / 452.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.2948, allocations: 11.98 kB / 452.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.2949, allocations: 29.7 kB / 452.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.295, allocations: 38.08 kB / 452.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.295, allocations: 0 / 452.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001701/0.2952, allocations: 81.48 kB / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2952, allocations: 4 kB / 452.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2952, allocations: 0 / 452.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2952, allocations: 4 kB / 452.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.2953, allocations: 11.94 kB / 452.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2953, allocations: 0 / 452.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.2953, allocations: 11.98 kB / 452.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2953, allocations: 0 / 452.8 MB, free: 0.7148 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 9.33e-05/0.2954, allocations: 117.8 kB / 453 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2954, allocations: 11.89 kB / 453 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.2957, allocations: 101.6 kB / 453.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2957, allocations: 7.938 kB / 453.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2957, allocations: 0 / 453.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2957, allocations: 0 / 453.1 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2959, allocations: 140.7 kB / 453.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2959, allocations: 3.938 kB / 453.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.2959, allocations: 15.98 kB / 453.2 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.2959, allocations: 3.938 kB / 453.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2959, allocations: 0 / 453.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2959, allocations: 4 kB / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2959, allocations: 4 kB / 453.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.2961, allocations: 97.92 kB / 453.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2962, allocations: 15.86 kB / 453.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.2962, allocations: 4.188 kB / 453.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.2962, allocations: 4 kB / 453.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2963, allocations: 11.98 kB / 453.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2963, allocations: 4 kB / 453.4 MB, free: 100 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.067e-05/0.2964, allocations: 95.27 kB / 453.5 MB, free: 4 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2964, allocations: 0 / 453.5 MB, free: 4 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008291/0.2972, allocations: 326.9 kB / 453.8 MB, free: 15.68 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.001537/0.2987, allocations: 1.116 MB / 454.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.2989, allocations: 35.91 kB / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2989, allocations: 4 kB / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.299, allocations: 16 kB / 455 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.2992, allocations: 18.48 kB / 455 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3009, allocations: 1.461 MB / 456.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3012, allocations: 0.6914 MB / 457.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3013, allocations: 43.92 kB / 457.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3014, allocations: 31.36 kB / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3014, allocations: 0 / 457.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03869/0.3401, allocations: 10.65 MB / 467.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.36, allocations: 18.91 kB / 467.9 MB, free: 1.543 MB / 366.1 MB " [Timeout remaining time 649] (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: 16.740484226029366]