Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 211.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 47.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002282/0.2492, allocations: 1.366 MB / 432.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.2769, allocations: 21.17 MB / 453.6 MB, free: 36 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.2769, allocations: 4 kB / 453.6 MB, free: 32 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.277, allocations: 7.922 kB / 453.6 MB, free: 24 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.2913, allocations: 5.938 MB / 459.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.292, allocations: 370.7 kB / 459.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2922, allocations: 75.64 kB / 460 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.2922, allocations: 4 kB / 460 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2923, allocations: 39.89 kB / 460 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.2924, allocations: 39.89 kB / 460.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2924, allocations: 8 kB / 460.1 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01503/0.3075, allocations: 8.677 MB / 468.8 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.3075, allocations: 15.98 kB / 468.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.555e-05/0.3076, allocations: 23.92 kB / 468.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.3171, allocations: 4.334 MB / 473.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3171, allocations: 0 / 473.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3171, allocations: 0 / 473.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3171, allocations: 0 / 473.1 MB, free: 12.48 MB / 382.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.002398/0.3195, allocations: 0.8641 MB / 474 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3195, allocations: 12.02 kB / 474 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.3196, allocations: 30.75 kB / 474 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3196, allocations: 16.83 kB / 474 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.3198, allocations: 145.8 kB / 474.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3198, allocations: 8 kB / 474.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3198, allocations: 3.984 kB / 474.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3201, allocations: 122.8 kB / 474.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.3201, allocations: 0 / 474.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3201, allocations: 0 / 474.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3201, allocations: 4 kB / 474.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3202, allocations: 35.91 kB / 474.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3204, allocations: 153.6 kB / 474.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.3208, allocations: 97.11 kB / 474.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.861e-05/0.3208, allocations: 33.77 kB / 474.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.3209, allocations: 8 kB / 474.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3209, allocations: 34.56 kB / 474.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3209, allocations: 0 / 474.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003239/0.3212, allocations: 101.5 kB / 474.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3213, allocations: 85.09 kB / 474.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3214, allocations: 137.8 kB / 475 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3215, allocations: 29.7 kB / 475 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.3215, allocations: 84.14 kB / 475.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.3216, allocations: 27.78 kB / 475.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3216, allocations: 21.7 kB / 475.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3218, allocations: 322.8 kB / 475.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.3218, allocations: 15.98 kB / 475.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.3219, allocations: 33.64 kB / 475.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.322, allocations: 45.7 kB / 475.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.322, allocations: 0 / 475.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001942/0.3222, allocations: 90 kB / 475.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3222, allocations: 8 kB / 475.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3222, allocations: 0 / 475.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3222, allocations: 7.938 kB / 475.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.3223, allocations: 8 kB / 475.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3223, allocations: 0 / 475.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.3224, allocations: 11.94 kB / 475.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3224, allocations: 4 kB / 475.7 MB, free: 9.668 MB / 382.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.839e-05/0.3225, allocations: 113.8 kB / 475.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3225, allocations: 4 kB / 475.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3228, allocations: 105.6 kB / 475.9 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3228, allocations: 4 kB / 475.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3228, allocations: 0 / 475.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3228, allocations: 0 / 475.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.3229, allocations: 152.6 kB / 476.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3229, allocations: 0 / 476.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.323, allocations: 20.05 kB / 476.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.323, allocations: 4 kB / 476.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.323, allocations: 0 / 476.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.323, allocations: 0 / 476.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.323, allocations: 0 / 476.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.3232, allocations: 117.9 kB / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3233, allocations: 11.94 kB / 476.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3233, allocations: 0 / 476.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.3234, allocations: 8 kB / 476.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3234, allocations: 11.92 kB / 476.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3234, allocations: 0 / 476.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.769e-05/0.3235, allocations: 119.5 kB / 476.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3235, allocations: 4 kB / 476.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002581/0.3261, allocations: 0.9508 MB / 477.3 MB, free: 7.977 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.004703/0.3308, allocations: 1.884 MB / 479.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.331, allocations: 51.89 kB / 479.2 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.331, allocations: 0 / 479.2 MB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.3311, allocations: 27.92 kB / 479.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3314, allocations: 12 kB / 479.3 MB, free: 5.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.334, allocations: 1.808 MB / 481.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.334, allocations: 71.33 kB / 481.2 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.3341, allocations: 15.98 kB / 481.2 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.3341, allocations: 23.42 kB / 481.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3341, allocations: 0 / 481.2 MB, free: 3.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/0.4015, allocations: 30.12 MB / 0.4993 GB, free: 5.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 2.406 kB / 0.4993 GB, free: 5.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 19.534078350989148]