Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_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/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.228, allocations: 50.53 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002372/0.2304, allocations: 1.389 MB / 410.1 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.2567, allocations: 23.6 MB / 433.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.2568, allocations: 0 / 433.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2569, allocations: 7.922 kB / 433.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.271, allocations: 5.987 MB / 439.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.2718, allocations: 342.7 kB / 440.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2719, allocations: 75.66 kB / 440.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.272, allocations: 11.92 kB / 440.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.2721, allocations: 31.91 kB / 440.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2722, allocations: 35.89 kB / 440.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2722, allocations: 8 kB / 440.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.2886, allocations: 8.879 MB / 449.1 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.2887, allocations: 15.98 kB / 449.1 MB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.2888, allocations: 35.84 kB / 449.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009366/0.2981, allocations: 4.375 MB / 453.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2982, allocations: 4 kB / 453.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2982, allocations: 0 / 453.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.2982, allocations: 0 / 453.5 MB, free: 4.621 MB / 366.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.002059/0.3002, allocations: 0.9086 MB / 454.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3003, allocations: 8.031 kB / 454.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.3003, allocations: 34.75 kB / 454.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.3004, allocations: 8.844 kB / 454.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3005, allocations: 207.5 kB / 454.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3006, allocations: 4 kB / 454.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3006, allocations: 7.922 kB / 454.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3008, allocations: 75.39 kB / 454.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3008, allocations: 0 / 454.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3008, allocations: 0 / 454.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3008, allocations: 0 / 454.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3009, allocations: 43.91 kB / 454.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.3011, allocations: 194.5 kB / 455 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.3014, allocations: 93.12 kB / 455.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.3015, allocations: 29.77 kB / 455.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.3015, allocations: 15.98 kB / 455.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3016, allocations: 34.56 kB / 455.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3016, allocations: 0 / 455.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000293/0.3019, allocations: 101.5 kB / 455.3 MB, free: 2.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3019, allocations: 77.11 kB / 455.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.302, allocations: 141.8 kB / 455.5 MB, free: 2.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3021, allocations: 29.7 kB / 455.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.3021, allocations: 92.12 kB / 455.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3021, allocations: 15.8 kB / 455.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3022, allocations: 17.72 kB / 455.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.3023, allocations: 326.8 kB / 456 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.3023, allocations: 11.98 kB / 456 MB, free: 1.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.3024, allocations: 37.64 kB / 456 MB, free: 1.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3025, allocations: 53.7 kB / 456.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3025, allocations: 0 / 456.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001694/0.3027, allocations: 77.89 kB / 456.1 MB, free: 1.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3027, allocations: 8 kB / 456.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3027, allocations: 4.078 kB / 456.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3028, allocations: 4.359 kB / 456.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.3028, allocations: 8 kB / 456.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3028, allocations: 4 kB / 456.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/0.3029, allocations: 8 kB / 456.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3029, allocations: 7.938 kB / 456.2 MB, free: 1.695 MB / 366.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 7.277e-05/0.303, allocations: 121.6 kB / 456.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.303, allocations: 7.906 kB / 456.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3033, allocations: 101.5 kB / 456.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3033, allocations: 3.938 kB / 456.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3033, allocations: 0 / 456.4 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3033, allocations: 7.984 kB / 456.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.3034, allocations: 177.6 kB / 456.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3034, allocations: 0 / 456.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.3035, allocations: 19.92 kB / 456.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3035, allocations: 0 / 456.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3035, allocations: 0 / 456.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3035, allocations: 0 / 456.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3035, allocations: 4.125 kB / 456.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3037, allocations: 121.8 kB / 456.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3038, allocations: 81.09 kB / 456.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3038, allocations: 4 kB / 456.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.3039, allocations: 4 kB / 456.8 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3039, allocations: 7.984 kB / 456.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.3039, allocations: 7.938 kB / 456.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.304, allocations: 115.2 kB / 456.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.304, allocations: 0 / 456.9 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002152/0.3062, allocations: 0.9447 MB / 457.9 MB, free: 15.88 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.004466/0.3106, allocations: 1.88 MB / 459.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3108, allocations: 51.91 kB / 459.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3109, allocations: 0 / 459.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.3109, allocations: 27.92 kB / 459.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3112, allocations: 15.98 kB / 459.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.3136, allocations: 1.791 MB / 461.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3138, allocations: 0.6923 MB / 462.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.3139, allocations: 11.98 kB / 462.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3139, allocations: 19.44 kB / 462.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3139, allocations: 0 / 462.4 MB, free: 11.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.3681, allocations: 29.48 MB / 491.9 MB, free: 13.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/8.959, allocations: 6.875 kB / 491.9 MB, free: 13.81 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches