Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001216/0.001216, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001441/0.001441, allocations: 195.4 kB / 24.49 MB, free: 3.941 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.343/1.343, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 47.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2361, allocations: 52.18 MB / 423.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002416/0.2385, allocations: 1.346 MB / 424.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02769/0.2662, allocations: 21.08 MB / 445.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.2662, allocations: 4 kB / 445.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.2663, allocations: 11.92 kB / 445.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.28, allocations: 5.933 MB / 451.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008281/0.2808, allocations: 366.7 kB / 452.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.2809, allocations: 79.64 kB / 452.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.281, allocations: 7.984 kB / 452.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.281, allocations: 31.91 kB / 452.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.2811, allocations: 39.89 kB / 452.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2811, allocations: 0 / 452.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/0.2955, allocations: 8.636 MB / 460.9 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.2956, allocations: 19.91 kB / 460.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.2956, allocations: 23.94 kB / 460.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007283/0.3029, allocations: 4.315 MB / 465.2 MB, free: 4.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3029, allocations: 4 kB / 465.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3029, allocations: 0 / 465.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3029, allocations: 0 / 465.2 MB, free: 4.41 MB / 366.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.002015/0.305, allocations: 0.8564 MB / 466.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.305, allocations: 8.031 kB / 466.1 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/0.305, allocations: 4.188 kB / 466.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.305, allocations: 34.75 kB / 466.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3051, allocations: 8.891 kB / 466.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3052, allocations: 145.5 kB / 466.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3053, allocations: 0 / 466.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3053, allocations: 12 kB / 466.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3055, allocations: 122.8 kB / 466.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3055, allocations: 0 / 466.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.3055, allocations: 0 / 466.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3055, allocations: 3.938 kB / 466.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3056, allocations: 43.89 kB / 466.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.3058, allocations: 165.6 kB / 466.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.3061, allocations: 93.12 kB / 466.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.143e-05/0.3062, allocations: 33.77 kB / 466.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.3062, allocations: 11.98 kB / 466.8 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3063, allocations: 34.56 kB / 466.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3063, allocations: 0 / 466.8 MB, free: 2.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003107/0.3066, allocations: 97.59 kB / 466.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3066, allocations: 77.11 kB / 467 MB, free: 2.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3068, allocations: 137.8 kB / 467.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3068, allocations: 29.7 kB / 467.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3068, allocations: 84.14 kB / 467.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3069, allocations: 27.84 kB / 467.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3069, allocations: 13.72 kB / 467.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.307, allocations: 326.8 kB / 467.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.3071, allocations: 12 kB / 467.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.3072, allocations: 33.64 kB / 467.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3073, allocations: 53.69 kB / 467.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3073, allocations: 0 / 467.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002474/0.3076, allocations: 85.56 kB / 467.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3076, allocations: 4 kB / 467.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3076, allocations: 4 kB / 467.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3076, allocations: 0 / 467.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.722e-05/0.3077, allocations: 15.98 kB / 467.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3077, allocations: 3.984 kB / 467.8 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.3077, allocations: 4.312 kB / 467.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3077, allocations: 7.938 kB / 467.8 MB, free: 1.602 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.553e-05/0.3078, allocations: 113.8 kB / 467.9 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3078, allocations: 8.422 kB / 467.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.3081, allocations: 105.5 kB / 468 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3081, allocations: 4 kB / 468 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3081, allocations: 0 / 468 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3081, allocations: 4 kB / 468 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3082, allocations: 144.7 kB / 468.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3082, allocations: 7.922 kB / 468.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.3083, allocations: 11.94 kB / 468.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3083, allocations: 0 / 468.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3083, allocations: 8.125 kB / 468.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3083, allocations: 4 kB / 468.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3083, allocations: 0 / 468.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3085, allocations: 117.9 kB / 468.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.3085, allocations: 11.94 kB / 468.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.3086, allocations: 4 kB / 468.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.3086, allocations: 3.984 kB / 468.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3087, allocations: 7.984 kB / 468.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.3087, allocations: 15.88 kB / 468.3 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.3088, allocations: 107.3 kB / 468.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3088, allocations: 0 / 468.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002329/0.3111, allocations: 0.9471 MB / 469.4 MB, free: 15.91 MB / 382.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.005133/0.3162, allocations: 1.879 MB / 471.3 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3165, allocations: 51.89 kB / 471.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3165, allocations: 4 kB / 471.3 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.3165, allocations: 31.86 kB / 471.4 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3168, allocations: 31.19 kB / 471.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.3199, allocations: 1.773 MB / 473.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.975e-05/0.3199, allocations: 71.09 kB / 473.2 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.32, allocations: 15.98 kB / 473.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.3201, allocations: 23.44 kB / 473.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3201, allocations: 0 / 473.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.3818, allocations: 29.62 MB / 0.4911 GB, free: 14.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.23, allocations: 8 kB / 0.4911 GB, free: 14.39 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 22.637805470032617]