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.001623/0.001623, allocations: 114.5 kB / 18.49 MB, free: 4.59 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.001835/0.001835, allocations: 193 kB / 21.43 MB, free: 1.66 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.363/1.363, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.001536/0.001536, allocations: 51.92 kB / 366.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08738, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002503/0.08988, allocations: 1.372 MB / 419.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03065/0.1205, allocations: 23.62 MB / 443.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.1206, allocations: 4 kB / 443.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1207, allocations: 3.938 kB / 443.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1852/0.3059, allocations: 5.997 MB / 449.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.3065, allocations: 351.8 kB / 449.8 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.3067, allocations: 74.42 kB / 449.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.3067, allocations: 5.641 kB / 449.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.3067, allocations: 34.39 kB / 449.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3068, allocations: 37.55 kB / 450 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3068, allocations: 3.406 kB / 450 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01461/0.3214, allocations: 8.979 MB / 458.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.3215, allocations: 20.38 kB / 459 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.3215, allocations: 28.23 kB / 459 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008793/0.3303, allocations: 4.367 MB / 463.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3303, allocations: 0 / 463.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3303, allocations: 3.172 kB / 463.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3303, allocations: 0 / 463.4 MB, free: 7.809 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.002479/0.3328, allocations: 0.9442 MB / 464.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3329, allocations: 9.812 kB / 464.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.3329, allocations: 1.188 kB / 464.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.892e-05/0.3329, allocations: 36.09 kB / 464.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3329, allocations: 6.5 kB / 464.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3331, allocations: 193.7 kB / 464.5 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3331, allocations: 6.25 kB / 464.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3331, allocations: 6.625 kB / 464.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3332, allocations: 70.34 kB / 464.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3332, allocations: 4.688 kB / 464.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3333, allocations: 0 / 464.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3333, allocations: 1.281 kB / 464.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3334, allocations: 33.97 kB / 464.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3335, allocations: 192.8 kB / 464.9 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.3338, allocations: 97.84 kB / 465 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.3339, allocations: 29.19 kB / 465 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.3339, allocations: 16.39 kB / 465 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.3339, allocations: 36.69 kB / 465 MB, free: 6.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3339, allocations: 0 / 465 MB, free: 6.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002831/0.3342, allocations: 100.6 kB / 465.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3342, allocations: 81.98 kB / 465.2 MB, free: 6.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.3343, allocations: 137.6 kB / 465.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.3343, allocations: 34.02 kB / 465.4 MB, free: 6.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.937e-05/0.3344, allocations: 88.73 kB / 465.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3344, allocations: 19.95 kB / 465.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3344, allocations: 25.11 kB / 465.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.923e-05/0.3345, allocations: 323.9 kB / 465.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.3345, allocations: 15.55 kB / 465.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.3346, allocations: 30.67 kB / 465.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3347, allocations: 56.11 kB / 465.9 MB, free: 5.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3347, allocations: 4 kB / 465.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001653/0.3349, allocations: 83.23 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3349, allocations: 5.125 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3349, allocations: 1.312 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3349, allocations: 0.6875 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.3349, allocations: 9.938 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3349, allocations: 2.953 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.335, allocations: 4.625 kB / 466 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.335, allocations: 3.438 kB / 466 MB, free: 5.77 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 4.771e-05/0.335, allocations: 119.7 kB / 466.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3351, allocations: 7.266 kB / 466.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3353, allocations: 103.5 kB / 466.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3353, allocations: 2.875 kB / 466.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3353, allocations: 1.156 kB / 466.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3353, allocations: 1.25 kB / 466.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.774e-05/0.3354, allocations: 182 kB / 466.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3354, allocations: 1.812 kB / 466.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.3354, allocations: 21.23 kB / 466.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3354, allocations: 0 / 466.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3354, allocations: 2.031 kB / 466.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3354, allocations: 1.062 kB / 466.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3354, allocations: 2.188 kB / 466.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3356, allocations: 112.6 kB / 466.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.3357, allocations: 89.25 kB / 466.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3357, allocations: 8.156 kB / 466.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3358, allocations: 2.219 kB / 466.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.3358, allocations: 12 kB / 466.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3358, allocations: 3.844 kB / 466.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.3358, allocations: 115.6 kB / 466.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 466.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002672/0.3385, allocations: 0.9484 MB / 467.8 MB, free: 5.023 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.004207/0.3427, allocations: 1.888 MB / 469.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3429, allocations: 48.84 kB / 469.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3429, allocations: 0 / 469.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.343, allocations: 23.73 kB / 469.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3432, allocations: 17.05 kB / 469.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3452, allocations: 1.794 MB / 471.5 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.3453, allocations: 0.6871 MB / 472.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3453, allocations: 12.56 kB / 472.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.3454, allocations: 23.73 kB / 472.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3454, allocations: 4 kB / 472.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05641/0.4018, allocations: 29.34 MB / 0.4898 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/9.347, allocations: 27.72 kB / 0.4899 GB, free: 11.25 MB / 398.1 MB " [Timeout remaining time 651] (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: 19.683419589011464]