Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001579/0.001579, 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.0017/0.0017, 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.41/1.41, allocations: 230.5 MB / 258.2 MB, free: 7.812 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_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.89 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2376, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002343/0.2399, allocations: 1.362 MB / 433.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0279/0.2678, allocations: 21.14 MB / 454.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.2679, allocations: 0 / 454.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.268, allocations: 7.922 kB / 454.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.2823, allocations: 5.961 MB / 460.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008503/0.2831, allocations: 366.7 kB / 460.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2833, allocations: 83.62 kB / 460.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.2833, allocations: 0 / 460.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.2834, allocations: 31.91 kB / 460.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.2835, allocations: 43.83 kB / 460.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2835, allocations: 4 kB / 460.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.2993, allocations: 8.674 MB / 469.6 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.2994, allocations: 19.86 kB / 469.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.2995, allocations: 27.91 kB / 469.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.3101, allocations: 4.33 MB / 473.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3101, allocations: 0 / 473.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3101, allocations: 0 / 473.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3101, allocations: 0 / 473.9 MB, free: 12.32 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.002274/0.3124, allocations: 0.868 MB / 474.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3124, allocations: 8.031 kB / 474.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.619e-05/0.3124, allocations: 4.188 kB / 474.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.3125, allocations: 34.75 kB / 474.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.3125, allocations: 12.89 kB / 474.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3127, allocations: 145.5 kB / 475 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3127, allocations: 3.938 kB / 475 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.3127, allocations: 4 kB / 475 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3129, allocations: 122.7 kB / 475.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3129, allocations: 4 kB / 475.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3129, allocations: 4 kB / 475.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3129, allocations: 0 / 475.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3131, allocations: 35.97 kB / 475.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.3133, allocations: 153.6 kB / 475.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.3136, allocations: 97.11 kB / 475.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.3136, allocations: 33.75 kB / 475.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.3137, allocations: 11.98 kB / 475.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3137, allocations: 38.5 kB / 475.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3137, allocations: 4 kB / 475.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003119/0.314, allocations: 97.61 kB / 475.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3141, allocations: 81.05 kB / 475.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3142, allocations: 137.8 kB / 475.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3142, allocations: 29.7 kB / 475.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3143, allocations: 84.14 kB / 475.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3143, allocations: 23.78 kB / 475.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3144, allocations: 17.72 kB / 476 MB, free: 10.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3145, allocations: 318.8 kB / 476.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.3146, allocations: 19.98 kB / 476.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3146, allocations: 33.7 kB / 476.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3148, allocations: 57.62 kB / 476.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3148, allocations: 0 / 476.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001851/0.3149, allocations: 69.67 kB / 476.5 MB, free: 9.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.315, allocations: 8 kB / 476.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.315, allocations: 0 / 476.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.315, allocations: 0 / 476.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.315, allocations: 23.92 kB / 476.5 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.315, allocations: 4 kB / 476.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.3151, allocations: 4.328 kB / 476.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3151, allocations: 7.938 kB / 476.5 MB, free: 9.5 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.402e-05/0.3152, allocations: 109.8 kB / 476.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3152, allocations: 4 kB / 476.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.3155, allocations: 109.4 kB / 476.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3155, allocations: 0.5625 kB / 476.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3155, allocations: 0 / 476.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3155, allocations: 4 kB / 476.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3156, allocations: 160.7 kB / 476.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3156, allocations: 7.984 kB / 476.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.3157, allocations: 8 kB / 476.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3157, allocations: 0 / 476.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3157, allocations: 7.984 kB / 476.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3157, allocations: 0 / 476.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3157, allocations: 0 / 476.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.3159, allocations: 113.8 kB / 477 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.316, allocations: 15.94 kB / 477 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.316, allocations: 4 kB / 477 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.3161, allocations: 7.984 kB / 477 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3161, allocations: 7.984 kB / 477 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.3161, allocations: 11.94 kB / 477.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.3162, allocations: 107.3 kB / 477.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3162, allocations: 0 / 477.2 MB, free: 8.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00233/0.3185, allocations: 0.9508 MB / 478.1 MB, free: 7.805 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.004505/0.323, allocations: 1.879 MB / 480 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3232, allocations: 55.91 kB / 480.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3232, allocations: 0 / 480.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/0.3233, allocations: 23.98 kB / 480.1 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3235, allocations: 19.92 kB / 480.1 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3261, allocations: 1.808 MB / 481.9 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.3261, allocations: 67.34 kB / 482 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.3262, allocations: 8.359 kB / 482 MB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.3262, allocations: 27.36 kB / 482 MB, free: 3.762 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3262, allocations: 0 / 482 MB, free: 3.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.3884, allocations: 29.74 MB / 0.4997 GB, free: 6.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 7.719 kB / 0.4998 GB, free: 6.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.776289414963685]