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.0008267/0.0008267, allocations: 76.06 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.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.0008297/0.0008297, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8821/0.8821, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.94e-05, allocations: 2.281 kB / 318.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001769/0.001788, allocations: 1.339 MB / 319.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.01927, allocations: 21.07 MB / 340.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.0193, allocations: 0 / 340.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.01941, allocations: 11.75 kB / 340.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.02994, allocations: 6.002 MB / 346.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.03047, allocations: 374.3 kB / 347.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.03057, allocations: 75.64 kB / 347.3 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.03061, allocations: 7.984 kB / 347.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.03067, allocations: 35.91 kB / 347.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.03075, allocations: 35.89 kB / 347.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.03077, allocations: 4 kB / 347.4 MB, free: 9.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.04079, allocations: 8.385 MB / 355.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.04084, allocations: 19.92 kB / 355.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.04087, allocations: 19.98 kB / 355.8 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007643/0.04852, allocations: 5.469 MB / 361.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.04852, allocations: 0 / 361.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.04852, allocations: 8 kB / 361.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.04853, allocations: 0 / 361.3 MB, free: 11.27 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.001932/0.05046, allocations: 0.8564 MB / 362.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.0505, allocations: 8.922 kB / 362.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.05053, allocations: 30.75 kB / 362.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.05058, allocations: 8.891 kB / 362.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.05071, allocations: 137.7 kB / 362.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.05073, allocations: 12.12 kB / 362.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.05074, allocations: 0 / 362.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.0509, allocations: 122.7 kB / 362.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.05091, allocations: 7.938 kB / 362.5 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.05092, allocations: 4 kB / 362.5 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.05093, allocations: 4 kB / 362.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.05101, allocations: 27.97 kB / 362.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.05119, allocations: 153.6 kB / 362.6 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.05143, allocations: 101 kB / 362.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.05147, allocations: 33.77 kB / 362.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.05152, allocations: 11.98 kB / 362.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.05154, allocations: 34.56 kB / 362.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.05154, allocations: 0 / 362.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002146/0.05176, allocations: 105.5 kB / 362.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.05179, allocations: 81.11 kB / 363 MB, free: 9.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.05188, allocations: 141.8 kB / 363.1 MB, free: 9.207 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.05189, allocations: 25.7 kB / 363.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.05192, allocations: 88.14 kB / 363.2 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.05195, allocations: 23.81 kB / 363.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.05198, allocations: 13.72 kB / 363.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.05206, allocations: 318.8 kB / 363.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.0521, allocations: 23.98 kB / 363.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.05213, allocations: 29.7 kB / 363.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.05221, allocations: 57.62 kB / 363.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.05221, allocations: 0 / 363.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001047/0.05232, allocations: 85.56 kB / 363.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.05233, allocations: 4 kB / 363.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.05233, allocations: 0 / 363.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.05234, allocations: 4 kB / 363.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.725e-05/0.05238, allocations: 15.98 kB / 363.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.05239, allocations: 0 / 363.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.05241, allocations: 4 kB / 363.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.05241, allocations: 3.938 kB / 363.8 MB, free: 8.48 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.622e-05/0.05247, allocations: 117.8 kB / 363.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.05248, allocations: 7.953 kB / 363.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.05263, allocations: 101.9 kB / 364 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.05263, allocations: 4 kB / 364 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.05264, allocations: 0 / 364 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.05264, allocations: 0 / 364 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.493e-05/0.05272, allocations: 149.2 kB / 364.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.05272, allocations: 0 / 364.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.05275, allocations: 11.98 kB / 364.2 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.05275, allocations: 7.938 kB / 364.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.05276, allocations: 4 kB / 364.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.05276, allocations: 0 / 364.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.05276, allocations: 0 / 364.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.05288, allocations: 121.8 kB / 364.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.05292, allocations: 11.94 kB / 364.3 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.05293, allocations: 4 kB / 364.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.05296, allocations: 11.98 kB / 364.4 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.053, allocations: 4.188 kB / 364.4 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.053, allocations: 7.984 kB / 364.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.524e-05/0.05305, allocations: 107.3 kB / 364.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05305, allocations: 4 kB / 364.5 MB, free: 7.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001576/0.05462, allocations: 0.9469 MB / 365.4 MB, free: 6.793 MB / 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.003198/0.05782, allocations: 2.014 MB / 367.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.05795, allocations: 47.97 kB / 367.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.05796, allocations: 3.938 kB / 367.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.05799, allocations: 23.92 kB / 367.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.05816, allocations: 20.33 kB / 367.5 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.05967, allocations: 1.794 MB / 369.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.05971, allocations: 71.33 kB / 369.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.05975, allocations: 15.97 kB / 369.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.05978, allocations: 28.48 kB / 369.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.05978, allocations: 0 / 369.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.09894, allocations: 30.24 MB / 399.7 MB, free: 4.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.439, allocations: 7.062 kB / 399.7 MB, free: 4.484 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 12.586027201265097]