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.001246/0.001246, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001515/0.001515, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.343/1.343, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 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="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.00154/0.00154, allocations: 43.94 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2352, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002338/0.2376, allocations: 1.38 MB / 433.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02961/0.2672, allocations: 23.82 MB / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.2672, allocations: 0 / 457.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.042e-05/0.2673, allocations: 7.922 kB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.2811, allocations: 6.03 MB / 463.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007999/0.2819, allocations: 366.7 kB / 463.5 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.2821, allocations: 79.62 kB / 463.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.2821, allocations: 8 kB / 463.6 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.2822, allocations: 31.91 kB / 463.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.2822, allocations: 43.83 kB / 463.7 MB, free: 7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2823, allocations: 7.938 kB / 463.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.2985, allocations: 9.048 MB / 472.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.569e-05/0.2986, allocations: 11.98 kB / 472.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.2986, allocations: 27.88 kB / 472.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009043/0.3077, allocations: 4.397 MB / 477.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3077, allocations: 0 / 477.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3077, allocations: 0 / 477.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3077, allocations: 0 / 477.2 MB, free: 9.488 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.002281/0.31, allocations: 0.868 MB / 478 MB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.31, allocations: 12.03 kB / 478 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.56e-05/0.31, allocations: 192 / 478 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.31, allocations: 38.73 kB / 478.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3101, allocations: 12.83 kB / 478.1 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3103, allocations: 149.5 kB / 478.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.3103, allocations: 0 / 478.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3103, allocations: 4 kB / 478.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3105, allocations: 79.36 kB / 478.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3105, allocations: 0 / 478.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3105, allocations: 0 / 478.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3105, allocations: 4 kB / 478.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.3106, allocations: 35.92 kB / 478.4 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.3108, allocations: 157.6 kB / 478.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3111, allocations: 101.1 kB / 478.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.3112, allocations: 25.77 kB / 478.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.3112, allocations: 12 kB / 478.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3112, allocations: 34.56 kB / 478.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.3112, allocations: 0 / 478.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003087/0.3116, allocations: 105.5 kB / 478.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3116, allocations: 81.09 kB / 478.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3117, allocations: 141.8 kB / 479 MB, free: 7.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3118, allocations: 29.7 kB / 479 MB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.3118, allocations: 84.14 kB / 479.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.3118, allocations: 19.8 kB / 479.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.3119, allocations: 21.7 kB / 479.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.312, allocations: 322.8 kB / 479.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.3121, allocations: 15.98 kB / 479.5 MB, free: 6.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.3121, allocations: 33.7 kB / 479.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3123, allocations: 49.64 kB / 479.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3123, allocations: 0 / 479.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001851/0.3125, allocations: 82.02 kB / 479.6 MB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3125, allocations: 10.5 kB / 479.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3125, allocations: 4 kB / 479.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3125, allocations: 0 / 479.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.3126, allocations: 8.047 kB / 479.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3126, allocations: 128 / 479.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.3126, allocations: 23.92 kB / 479.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3126, allocations: 3.938 kB / 479.7 MB, free: 6.719 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 9.861e-05/0.3127, allocations: 113.8 kB / 479.8 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3127, allocations: 4 kB / 479.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.313, allocations: 105.6 kB / 479.9 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.313, allocations: 4 kB / 479.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.313, allocations: 0 / 479.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.313, allocations: 0 / 479.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3132, allocations: 160.5 kB / 480.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3132, allocations: 0 / 480.1 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.3132, allocations: 15.92 kB / 480.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3132, allocations: 4 kB / 480.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3132, allocations: 0 / 480.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3132, allocations: 4 kB / 480.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3132, allocations: 0 / 480.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3134, allocations: 113.9 kB / 480.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.3135, allocations: 7.938 kB / 480.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3135, allocations: 8 kB / 480.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.3136, allocations: 0 / 480.2 MB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3136, allocations: 11.98 kB / 480.2 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3136, allocations: 8.312 kB / 480.2 MB, free: 6.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.3137, allocations: 119.1 kB / 480.4 MB, free: 5.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3137, allocations: 0 / 480.4 MB, free: 5.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002389/0.3161, allocations: 0.9547 MB / 481.3 MB, free: 5.02 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.005007/0.3211, allocations: 1.88 MB / 483.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3213, allocations: 47.91 kB / 483.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3213, allocations: 0 / 483.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.3214, allocations: 28.11 kB / 483.3 MB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3217, allocations: 23.2 kB / 483.3 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.3247, allocations: 1.798 MB / 485.1 MB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.325, allocations: 0.6923 MB / 485.8 MB, free: 404 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.325, allocations: 11.98 kB / 485.8 MB, free: 392 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.3251, allocations: 23.42 kB / 485.8 MB, free: 368 kB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3251, allocations: 0 / 485.8 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0587/0.3838, allocations: 29.59 MB / 0.5033 GB, free: 2.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.28, allocations: 3.984 kB / 0.5033 GB, free: 2.879 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.576675567019265]