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.001226/0.001226, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001314/0.001314, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 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 1.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 39.94 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 53.37 MB / 431.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002353/0.2535, allocations: 1.355 MB / 433.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.2816, allocations: 21.15 MB / 454.4 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.2817, allocations: 0 / 454.4 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2818, allocations: 11.92 kB / 454.4 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.2961, allocations: 5.953 MB / 460.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.2969, allocations: 362.7 kB / 460.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.2971, allocations: 79.69 kB / 460.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.2971, allocations: 4 kB / 460.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.2972, allocations: 35.8 kB / 460.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.2973, allocations: 39.89 kB / 460.8 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2973, allocations: 4 kB / 460.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.3122, allocations: 8.682 MB / 469.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.3123, allocations: 15.97 kB / 469.5 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3123, allocations: 19.92 kB / 469.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008386/0.3207, allocations: 4.334 MB / 473.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3207, allocations: 0 / 473.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3207, allocations: 0 / 473.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3207, allocations: 4 kB / 473.9 MB, free: 12.52 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.001966/0.3227, allocations: 0.864 MB / 474.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3227, allocations: 12.03 kB / 474.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.3227, allocations: 4.172 kB / 474.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.3228, allocations: 34.75 kB / 474.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.3228, allocations: 8.891 kB / 474.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.323, allocations: 153.5 kB / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.323, allocations: 0 / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.323, allocations: 0 / 475 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3232, allocations: 122.8 kB / 475.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3232, allocations: 4 kB / 475.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3232, allocations: 0 / 475.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3232, allocations: 4 kB / 475.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3233, allocations: 39.91 kB / 475.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.3235, allocations: 157.6 kB / 475.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3239, allocations: 97.19 kB / 475.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.3239, allocations: 29.7 kB / 475.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.901e-05/0.324, allocations: 11.98 kB / 475.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.324, allocations: 38.56 kB / 475.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.876e-06/0.324, allocations: 3.984 kB / 475.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003161/0.3243, allocations: 97.55 kB / 475.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3244, allocations: 81.11 kB / 475.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3245, allocations: 141.8 kB / 475.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3245, allocations: 25.7 kB / 475.8 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.3246, allocations: 88.14 kB / 475.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3246, allocations: 19.78 kB / 475.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.3246, allocations: 21.72 kB / 475.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3248, allocations: 322.8 kB / 476.2 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.3249, allocations: 16 kB / 476.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.3249, allocations: 37.64 kB / 476.3 MB, free: 9.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3251, allocations: 49.69 kB / 476.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3251, allocations: 4 kB / 476.3 MB, free: 9.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001895/0.3252, allocations: 73.61 kB / 476.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3253, allocations: 8 kB / 476.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3253, allocations: 3.938 kB / 476.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3253, allocations: 0 / 476.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.3253, allocations: 19.98 kB / 476.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3253, allocations: 0 / 476.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.225e-05/0.3254, allocations: 7.953 kB / 476.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3254, allocations: 3.938 kB / 476.5 MB, free: 9.703 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.165e-05/0.3255, allocations: 109.8 kB / 476.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.3255, allocations: 8 kB / 476.6 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.3258, allocations: 97.58 kB / 476.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3258, allocations: 0 / 476.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3258, allocations: 0 / 476.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3258, allocations: 0.5625 kB / 476.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3259, allocations: 160.6 kB / 476.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3259, allocations: 0 / 476.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.326, allocations: 15.94 kB / 476.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.326, allocations: 0 / 476.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.326, allocations: 0 / 476.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.326, allocations: 0 / 476.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.326, allocations: 4 kB / 476.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3262, allocations: 114.1 kB / 477 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3262, allocations: 15.94 kB / 477 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3263, allocations: 4 kB / 477 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.3263, allocations: 11.98 kB / 477 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.3264, allocations: 8.359 kB / 477 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3264, allocations: 7.938 kB / 477 MB, free: 9.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.3265, allocations: 119.1 kB / 477.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3265, allocations: 0 / 477.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00222/0.3287, allocations: 0.9508 MB / 478.1 MB, free: 8.012 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.004286/0.333, allocations: 1.875 MB / 479.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3332, allocations: 55.91 kB / 480 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3332, allocations: 0 / 480 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.3333, allocations: 27.92 kB / 480 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3335, allocations: 26.56 kB / 480.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.336, allocations: 1.8 MB / 481.9 MB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.12e-05/0.336, allocations: 71.28 kB / 481.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.984e-05/0.3361, allocations: 12.34 kB / 481.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.3361, allocations: 19.44 kB / 482 MB, free: 3.973 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3361, allocations: 0 / 482 MB, free: 3.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06084/0.397, allocations: 29.76 MB / 0.4997 GB, free: 6.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.23, allocations: 4 kB / 0.4997 GB, free: 6.34 MB / 414.1 MB " [Timeout remaining time 648] (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/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_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: 22.605982879991643]