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.0007818/0.0007818, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008435/0.0008435, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8786/0.8786, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/1.977e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001908/0.001928, allocations: 1.361 MB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.01916, allocations: 21.17 MB / 347.1 MB, free: 9.316 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.0192, allocations: 4 kB / 347.1 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.0193, allocations: 11.92 kB / 347.1 MB, free: 9.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009736/0.02904, allocations: 6 MB / 353.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.02953, allocations: 366.4 kB / 353.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.893e-05/0.02963, allocations: 79.62 kB / 353.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.02967, allocations: 8 kB / 353.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.02973, allocations: 43.89 kB / 353.6 MB, free: 2.809 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.0298, allocations: 39.81 kB / 353.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.02982, allocations: 4 kB / 353.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00933/0.03915, allocations: 8.411 MB / 362 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.03919, allocations: 15.92 kB / 362.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.03922, allocations: 23.97 kB / 362.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.04583, allocations: 5.496 MB / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.04584, allocations: 0 / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.04584, allocations: 0 / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.04584, allocations: 0 / 367.6 MB, free: 4.797 MB / 330.7 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.001839/0.04768, allocations: 0.864 MB / 368.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.04772, allocations: 12.03 kB / 368.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.04775, allocations: 30.75 kB / 368.5 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.04779, allocations: 12.83 kB / 368.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.0479, allocations: 145.6 kB / 368.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.04792, allocations: 12.11 kB / 368.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.04792, allocations: 0 / 368.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.04806, allocations: 126.8 kB / 368.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.04807, allocations: 0 / 368.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.04808, allocations: 0 / 368.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.04808, allocations: 0 / 368.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.04815, allocations: 39.91 kB / 368.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.04829, allocations: 149.7 kB / 369 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.0485, allocations: 93.12 kB / 369.1 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.04854, allocations: 33.7 kB / 369.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.04859, allocations: 19.98 kB / 369.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.04861, allocations: 30.56 kB / 369.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.04862, allocations: 0 / 369.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002093/0.04883, allocations: 105.5 kB / 369.2 MB, free: 2.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.04886, allocations: 77.11 kB / 369.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.04894, allocations: 137.8 kB / 369.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.04895, allocations: 25.7 kB / 369.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.04898, allocations: 84.14 kB / 369.6 MB, free: 2.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.04901, allocations: 27.83 kB / 369.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.04904, allocations: 21.72 kB / 369.6 MB, free: 2.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.04911, allocations: 318.8 kB / 369.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.04915, allocations: 20 kB / 369.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.04919, allocations: 25.7 kB / 370 MB, free: 2.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.04926, allocations: 61.56 kB / 370 MB, free: 2.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.04926, allocations: 0 / 370 MB, free: 2.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001012/0.04936, allocations: 82.08 kB / 370.1 MB, free: 2.027 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.04938, allocations: 4.375 kB / 370.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.04938, allocations: 7.922 kB / 370.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.04939, allocations: 4 kB / 370.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-05/0.04943, allocations: 15.98 kB / 370.1 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.04943, allocations: 3.938 kB / 370.1 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.04945, allocations: 7.891 kB / 370.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.04946, allocations: 4 kB / 370.1 MB, free: 1.98 MB / 330.7 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 5.666e-05/0.04952, allocations: 117.8 kB / 370.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.04953, allocations: 4 kB / 370.3 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.04968, allocations: 97.58 kB / 370.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.04968, allocations: 0 / 370.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04968, allocations: 8 kB / 370.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.04968, allocations: 0 / 370.4 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.548e-05/0.04977, allocations: 152.6 kB / 370.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.04977, allocations: 0 / 370.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.04979, allocations: 8 kB / 370.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.0498, allocations: 0 / 370.5 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.0498, allocations: 4 kB / 370.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.0498, allocations: 0 / 370.5 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0498, allocations: 3.938 kB / 370.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.04992, allocations: 109.9 kB / 370.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.04995, allocations: 19.94 kB / 370.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.04996, allocations: 0 / 370.7 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.04999, allocations: 8.172 kB / 370.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.05003, allocations: 3.984 kB / 370.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.05004, allocations: 12 kB / 370.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.05008, allocations: 107.3 kB / 370.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05008, allocations: 0 / 370.8 MB, free: 1.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001387/0.05147, allocations: 0.9586 MB / 371.7 MB, free: 304 kB / 330.7 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.003404/0.05488, allocations: 2.02 MB / 373.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.05508, allocations: 48 kB / 373.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.05509, allocations: 4 kB / 373.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.05513, allocations: 28.06 kB / 373.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.05532, allocations: 15.98 kB / 373.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.05755, allocations: 1.797 MB / 375.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.021e-05/0.0576, allocations: 71.33 kB / 375.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.05765, allocations: 15.77 kB / 375.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.0577, allocations: 20.48 kB / 375.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.0577, allocations: 8 kB / 375.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.0972, allocations: 30.38 MB / 406.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.225, allocations: 3.984 kB / 406.2 MB, free: 13.83 MB / 378.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 12.340204760432243]