Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001267/0.001267, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.00134/0.00134, allocations: 205.7 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 207.6 MB / 232.5 MB, free: 11.52 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 57.02 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2268, allocations: 49.12 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002024/0.2288, allocations: 1.369 MB / 393.5 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.026/0.2548, allocations: 23.78 MB / 417.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.2548, allocations: 0 / 417.3 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.255, allocations: 8.953 kB / 417.3 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.2706, allocations: 5.638 MB / 422.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.2713, allocations: 354.4 kB / 423.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.2715, allocations: 79.56 kB / 423.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.2715, allocations: 10.86 kB / 423.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.2716, allocations: 36.16 kB / 423.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.715e-05/0.2717, allocations: 35.89 kB / 423.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2717, allocations: 2.656 kB / 423.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01612/0.2878, allocations: 8.864 MB / 432.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.2878, allocations: 19.86 kB / 432.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.2879, allocations: 31.84 kB / 432.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.2993, allocations: 4.35 MB / 436.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2993, allocations: 3.938 kB / 436.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2993, allocations: 0 / 436.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.2993, allocations: 0 / 436.7 MB, free: 7.703 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.002357/0.3017, allocations: 0.9317 MB / 437.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3017, allocations: 12.03 kB / 437.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.3018, allocations: 4.188 kB / 437.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.3018, allocations: 30.75 kB / 437.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.3018, allocations: 12.83 kB / 437.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.302, allocations: 195.5 kB / 437.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3021, allocations: 4 kB / 437.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.3021, allocations: 7.938 kB / 437.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3023, allocations: 67.33 kB / 437.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3023, allocations: 8 kB / 437.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.3023, allocations: 4 kB / 438 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3023, allocations: 0 / 438 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3024, allocations: 31.97 kB / 438 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.3026, allocations: 186.5 kB / 438.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.303, allocations: 101.1 kB / 438.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.3031, allocations: 29.78 kB / 438.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3031, allocations: 11.98 kB / 438.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3031, allocations: 30.56 kB / 438.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3031, allocations: 0 / 438.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003341/0.3035, allocations: 105.5 kB / 438.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3035, allocations: 81.11 kB / 438.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3036, allocations: 137.8 kB / 438.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3037, allocations: 29.7 kB / 438.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.3037, allocations: 88.12 kB / 438.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3038, allocations: 23.8 kB / 438.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3038, allocations: 17.72 kB / 438.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3039, allocations: 318.8 kB / 439.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.304, allocations: 23.98 kB / 439.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.3041, allocations: 29.7 kB / 439.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3042, allocations: 46.08 kB / 439.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3042, allocations: 4 kB / 439.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001887/0.3044, allocations: 89.53 kB / 439.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3044, allocations: 8.375 kB / 439.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.3044, allocations: 4 kB / 439.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3044, allocations: 0 / 439.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.3045, allocations: 8 kB / 439.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3045, allocations: 4.062 kB / 439.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.3045, allocations: 8 kB / 439.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.3045, allocations: 3.938 kB / 439.3 MB, free: 4.766 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.134e-05/0.3046, allocations: 121.8 kB / 439.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.3047, allocations: 4 kB / 439.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3049, allocations: 105.4 kB / 439.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.3049, allocations: 7.938 kB / 439.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3049, allocations: 3.984 kB / 439.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3049, allocations: 0 / 439.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3051, allocations: 181.5 kB / 439.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3051, allocations: 0 / 439.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3051, allocations: 15.98 kB / 439.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3051, allocations: 4 kB / 439.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.3051, allocations: 0 / 439.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3051, allocations: 0 / 439.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3051, allocations: 4 kB / 439.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.3054, allocations: 121.8 kB / 439.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.3054, allocations: 81.09 kB / 440 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3054, allocations: 4 kB / 440 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.3055, allocations: 0 / 440 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3056, allocations: 11.98 kB / 440 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3056, allocations: 11.94 kB / 440 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.3056, allocations: 111.2 kB / 440.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3056, allocations: 0 / 440.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002372/0.308, allocations: 0.9314 MB / 441 MB, free: 2.957 MB / 350.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.004383/0.3124, allocations: 1.908 MB / 443 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.3126, allocations: 43.97 kB / 443 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3126, allocations: 0 / 443 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.3127, allocations: 23.92 kB / 443 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3129, allocations: 23.84 kB / 443 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.3154, allocations: 1.785 MB / 444.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3157, allocations: 0.6962 MB / 445.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.808e-05/0.3157, allocations: 15.92 kB / 445.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.3158, allocations: 15.44 kB / 445.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3158, allocations: 4 kB / 445.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.3747, allocations: 30.75 MB / 476.3 MB, free: 15.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/9.346, allocations: 7.922 kB / 476.3 MB, free: 15.43 MB / 398.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.83001106104348]