Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001687/0.001687, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.00226/0.00226, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 55.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2414, allocations: 49.17 MB / 396.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002189/0.2436, allocations: 1.373 MB / 397.7 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.2715, allocations: 23.88 MB / 421.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.2715, allocations: 3.938 kB / 421.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.2716, allocations: 7.922 kB / 421.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01555/0.2872, allocations: 5.66 MB / 427.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/0.2881, allocations: 369.7 kB / 427.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2882, allocations: 75.88 kB / 427.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.2883, allocations: 2.688 kB / 427.7 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.2883, allocations: 36.11 kB / 427.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.2884, allocations: 38.83 kB / 427.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2884, allocations: 2.844 kB / 427.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.3057, allocations: 8.907 MB / 436.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.3058, allocations: 19.91 kB / 436.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.3058, allocations: 27.86 kB / 436.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.3178, allocations: 4.358 MB / 441.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3178, allocations: 0 / 441.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3178, allocations: 0 / 441.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3178, allocations: 0 / 441.1 MB, free: 6.449 MB / 350.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.002506/0.3203, allocations: 0.8603 MB / 442 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3204, allocations: 11.98 kB / 442 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3204, allocations: 34.69 kB / 442 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3205, allocations: 12.88 kB / 442 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3207, allocations: 141.8 kB / 442.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3207, allocations: 8 kB / 442.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3207, allocations: 0 / 442.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3209, allocations: 71.39 kB / 442.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3209, allocations: 0 / 442.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3209, allocations: 3.984 kB / 442.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3209, allocations: 0 / 442.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.321, allocations: 31.92 kB / 442.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.3212, allocations: 169.6 kB / 442.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.3215, allocations: 93.11 kB / 442.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3216, allocations: 33.7 kB / 442.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.317e-05/0.3217, allocations: 11.98 kB / 442.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3217, allocations: 42.56 kB / 442.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3217, allocations: 0 / 442.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003071/0.322, allocations: 97.55 kB / 442.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3221, allocations: 85.09 kB / 442.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.3222, allocations: 133.8 kB / 442.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3222, allocations: 25.7 kB / 442.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3223, allocations: 92.14 kB / 443 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.3223, allocations: 19.8 kB / 443.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3223, allocations: 21.7 kB / 443.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3225, allocations: 318.8 kB / 443.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.3225, allocations: 19.98 kB / 443.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.3226, allocations: 29.7 kB / 443.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3227, allocations: 54.02 kB / 443.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3227, allocations: 0 / 443.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001877/0.3229, allocations: 93.53 kB / 443.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3229, allocations: 4 kB / 443.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3229, allocations: 3.984 kB / 443.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3229, allocations: 0 / 443.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.323, allocations: 16.12 kB / 443.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.323, allocations: 0 / 443.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.3231, allocations: 0 / 443.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3231, allocations: 15.92 kB / 443.6 MB, free: 3.691 MB / 350.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.404e-05/0.3232, allocations: 117.8 kB / 443.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.3232, allocations: 4 kB / 443.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3234, allocations: 101.5 kB / 443.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3234, allocations: 0 / 443.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3234, allocations: 0 / 443.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3234, allocations: 4 kB / 443.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3236, allocations: 152.6 kB / 444 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3236, allocations: 4.375 kB / 444 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.3236, allocations: 11.98 kB / 444 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3236, allocations: 0 / 444 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3237, allocations: 4 kB / 444 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3237, allocations: 7.875 kB / 444 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3237, allocations: 0 / 444 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3239, allocations: 113.9 kB / 444.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3239, allocations: 11.98 kB / 444.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3239, allocations: 0 / 444.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.324, allocations: 4 kB / 444.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.3241, allocations: 11.98 kB / 444.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3241, allocations: 0 / 444.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.3241, allocations: 119.2 kB / 444.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3241, allocations: 0 / 444.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002434/0.3266, allocations: 0.9314 MB / 445.2 MB, free: 2.023 MB / 350.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.004299/0.3309, allocations: 1.907 MB / 447.1 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3311, allocations: 51.91 kB / 447.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3311, allocations: 0 / 447.2 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3312, allocations: 27.98 kB / 447.2 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.3314, allocations: 19.88 kB / 447.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3339, allocations: 1.781 MB / 449 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3342, allocations: 0.6883 MB / 449.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.3342, allocations: 8 kB / 449.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.3343, allocations: 27.42 kB / 449.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3343, allocations: 0 / 449.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0914/0.4257, allocations: 30.83 MB / 480.5 MB, free: 14.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.32, allocations: 15.8 kB / 480.6 MB, free: 14.41 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.78577271802351]