Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008075/0.0008077, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007398/0.0007398, allocations: 94.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1793, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001179/0.1805, allocations: 1.074 MB / 376.3 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.1992, allocations: 22.18 MB / 398.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.1993, allocations: 4 kB / 398.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.078e-05/0.1994, allocations: 4 kB / 398.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009975/0.2093, allocations: 4.372 MB / 402.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.2099, allocations: 306.9 kB / 403.1 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.217e-05/0.21, allocations: 91.55 kB / 403.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.21, allocations: 11.98 kB / 403.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.8e-05/0.2101, allocations: 27.92 kB / 403.2 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2102, allocations: 35.89 kB / 403.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2102, allocations: 4 kB / 403.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.2216, allocations: 8.51 MB / 411.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2217, allocations: 15.92 kB / 411.8 MB, free: 12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.2217, allocations: 53.61 kB / 411.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.226, allocations: 2.916 MB / 414.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.226, allocations: 0 / 414.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.226, allocations: 0 / 414.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.226, allocations: 0 / 414.8 MB, free: 9.023 MB / 298.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.001747/0.2278, allocations: 0.889 MB / 415.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2278, allocations: 8.031 kB / 415.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.2279, allocations: 38.75 kB / 415.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2279, allocations: 8.844 kB / 415.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.228, allocations: 191.7 kB / 415.9 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.228, allocations: 4 kB / 415.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.228, allocations: 0 / 415.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2282, allocations: 75.39 kB / 416 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2282, allocations: 0 / 416 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.2282, allocations: 7.875 kB / 416 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2282, allocations: 4 kB / 416 MB, free: 7.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.2284, allocations: 35.97 kB / 416 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.2285, allocations: 198.4 kB / 416.2 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.2287, allocations: 97.11 kB / 416.3 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/0.2288, allocations: 33.77 kB / 416.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.2289, allocations: 11.98 kB / 416.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.2289, allocations: 34.56 kB / 416.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2289, allocations: 0 / 416.4 MB, free: 7.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002526/0.2292, allocations: 93.59 kB / 416.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.2292, allocations: 81.11 kB / 416.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.2293, allocations: 145.8 kB / 416.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2293, allocations: 25.7 kB / 416.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.2293, allocations: 92.12 kB / 416.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2293, allocations: 19.66 kB / 416.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2294, allocations: 3.938 kB / 416.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.2294, allocations: 318.8 kB / 417.2 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.2295, allocations: 19.98 kB / 417.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.2295, allocations: 33.7 kB / 417.2 MB, free: 6.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/0.2296, allocations: 49.69 kB / 417.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2296, allocations: 0 / 417.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000141/0.2298, allocations: 81.52 kB / 417.3 MB, free: 6.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2298, allocations: 10.19 kB / 417.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2298, allocations: 0 / 417.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2298, allocations: 0 / 417.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.2299, allocations: 11.98 kB / 417.4 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2299, allocations: 4 kB / 417.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.2299, allocations: 4 kB / 417.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.2299, allocations: 0 / 417.4 MB, free: 6.164 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.23, allocations: 122.6 kB / 417.5 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.23, allocations: 4 kB / 417.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.2302, allocations: 105.8 kB / 417.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.2302, allocations: 8.031 kB / 417.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2302, allocations: 7.984 kB / 417.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2302, allocations: 0 / 417.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/0.2303, allocations: 185.5 kB / 417.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2303, allocations: 0 / 417.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.2304, allocations: 8 kB / 417.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.2304, allocations: 4 kB / 417.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2304, allocations: 0 / 417.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2304, allocations: 0 / 417.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2304, allocations: 0 / 417.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.2306, allocations: 118.1 kB / 417.9 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.2306, allocations: 92.94 kB / 418 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2307, allocations: 12 kB / 418 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.2307, allocations: 3.984 kB / 418 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2308, allocations: 4 kB / 418 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2308, allocations: 4 kB / 418 MB, free: 5.395 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.2308, allocations: 119.5 kB / 418.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2309, allocations: 4 kB / 418.2 MB, free: 5.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001988/0.2328, allocations: 0.9213 MB / 419.1 MB, free: 4.352 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004041/0.2369, allocations: 1.878 MB / 421 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.2371, allocations: 51.89 kB / 421 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2371, allocations: 0 / 421 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.2371, allocations: 31.86 kB / 421 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2374, allocations: 19.92 kB / 421.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.2388, allocations: 0.9636 MB / 422 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.2389, allocations: 0.6965 MB / 422.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.2389, allocations: 19.44 kB / 422.7 MB, free: 0.582 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2389, allocations: 3.938 kB / 422.7 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.623/4.862, allocations: 19.55 MB / 442.3 MB, free: 13 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches