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.0007872/0.0007873, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009283/0.0009283, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.8 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001939/0.0001939, allocations: 4 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07617/0.07638, allocations: 51.52 MB / 359.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.0011/0.07751, allocations: 1.101 MB / 360.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1662/0.2438, allocations: 25.03 MB / 385.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2438, allocations: 0 / 385.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.875e-05/0.2439, allocations: 3.797 kB / 385.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01235/0.2563, allocations: 4.936 MB / 390.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2569, allocations: 319.7 kB / 390.7 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.257, allocations: 92.67 kB / 390.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.2571, allocations: 5.25 kB / 390.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.2571, allocations: 30.22 kB / 390.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.2572, allocations: 40.33 kB / 390.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.2572, allocations: 3.312 kB / 390.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01446/0.2717, allocations: 8.927 MB / 399.8 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.2717, allocations: 19.31 kB / 399.8 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.2718, allocations: 54.84 kB / 399.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009478/0.2813, allocations: 4.44 MB / 404.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2813, allocations: 0 / 404.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2813, allocations: 3.938 kB / 404.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.2813, allocations: 0 / 404.3 MB, free: 14.21 MB / 318.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.002238/0.2836, allocations: 0.9015 MB / 405.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2836, allocations: 12.03 kB / 405.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.2837, allocations: 34.75 kB / 405.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.2837, allocations: 8.844 kB / 405.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.2839, allocations: 203.9 kB / 405.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2839, allocations: 4 kB / 405.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2839, allocations: 0 / 405.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2841, allocations: 73.89 kB / 405.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.2841, allocations: 0 / 405.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2841, allocations: 0 / 405.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.2841, allocations: 4 kB / 405.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.2842, allocations: 35.91 kB / 405.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.2844, allocations: 194.5 kB / 405.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.2847, allocations: 97.11 kB / 405.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.2847, allocations: 29.78 kB / 405.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.2848, allocations: 11.98 kB / 405.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2848, allocations: 34.56 kB / 406 MB, free: 12.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2848, allocations: 0 / 406 MB, free: 12.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002746/0.2851, allocations: 101.5 kB / 406.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2852, allocations: 81.11 kB / 406.1 MB, free: 12.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2853, allocations: 137.8 kB / 406.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2853, allocations: 25.7 kB / 406.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.2853, allocations: 92.12 kB / 406.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2854, allocations: 19.73 kB / 406.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.2854, allocations: 17.66 kB / 406.4 MB, free: 11.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.2855, allocations: 322.8 kB / 406.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.2856, allocations: 20.36 kB / 406.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.2856, allocations: 33.64 kB / 406.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2858, allocations: 54.06 kB / 406.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2858, allocations: 0 / 406.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.2859, allocations: 89.45 kB / 406.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.286, allocations: 4 kB / 406.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.286, allocations: 0 / 406.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.286, allocations: 0 / 406.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.2861, allocations: 15.98 kB / 407 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2861, allocations: 0 / 407 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.2861, allocations: 0 / 407 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2861, allocations: 4 kB / 407 MB, free: 11.32 MB / 318.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.423e-05/0.2862, allocations: 126.8 kB / 407.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2862, allocations: 7.891 kB / 407.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2864, allocations: 97.5 kB / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2865, allocations: 0 / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2865, allocations: 0.875 kB / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2865, allocations: 0 / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.2866, allocations: 181.6 kB / 407.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2866, allocations: 0 / 407.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.2867, allocations: 19.94 kB / 407.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2867, allocations: 3.984 kB / 407.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.2867, allocations: 128 / 407.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2867, allocations: 8 kB / 407.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2867, allocations: 0 / 407.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2869, allocations: 113.8 kB / 407.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.287, allocations: 97.02 kB / 407.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.287, allocations: 4 kB / 407.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.2871, allocations: 4 kB / 407.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2871, allocations: 7.984 kB / 407.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.2871, allocations: 0 / 407.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.2872, allocations: 115.2 kB / 407.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2872, allocations: 0 / 407.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002291/0.2895, allocations: 0.9446 MB / 408.7 MB, free: 9.5 MB / 318.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.004787/0.2943, allocations: 1.892 MB / 410.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.2945, allocations: 51.91 kB / 410.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2945, allocations: 0 / 410.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.2945, allocations: 31.92 kB / 410.7 MB, free: 7.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2948, allocations: 12 kB / 410.7 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.2973, allocations: 1.801 MB / 412.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2975, allocations: 0.6887 MB / 413.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.2975, allocations: 11.98 kB / 413.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.2976, allocations: 19.44 kB / 413.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2976, allocations: 0 / 413.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.3428, allocations: 29.16 MB / 442.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.3431, allocations: 236.4 kB / 442.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/2.983, allocations: 0 / 442.6 MB, free: 7.523 MB / 350.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