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.001379/0.001379, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001668/0.001668, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.53 kB / 307 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08561, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002298/0.08794, allocations: 1.383 MB / 359 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1657/0.2536, allocations: 23.59 MB / 382.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.2537, allocations: 7.938 kB / 382.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.2538, allocations: 11.98 kB / 382.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.2682, allocations: 5.993 MB / 388.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.2689, allocations: 336.7 kB / 388.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.269, allocations: 67.59 kB / 389 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.269, allocations: 6.766 kB / 389 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.2691, allocations: 40.09 kB / 389 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.2691, allocations: 38.45 kB / 389 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2692, allocations: 3.625 kB / 389 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.2836, allocations: 8.712 MB / 397.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.2837, allocations: 16.38 kB / 397.8 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.2837, allocations: 30.55 kB / 397.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007055/0.2908, allocations: 4.385 MB / 402.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2908, allocations: 0 / 402.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2908, allocations: 0 / 402.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2908, allocations: 0 / 402.2 MB, free: 14.39 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.001545/0.2924, allocations: 0.927 MB / 403.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2924, allocations: 8.875 kB / 403.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2925, allocations: 32.41 kB / 403.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.2925, allocations: 3.5 kB / 403.2 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2927, allocations: 200.5 kB / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2927, allocations: 5.469 kB / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2927, allocations: 1.469 kB / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.2929, allocations: 76.2 kB / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2929, allocations: 1.562 kB / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2929, allocations: 0 / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2929, allocations: 5.312 kB / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.293, allocations: 43.81 kB / 403.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.2932, allocations: 188.5 kB / 403.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.2935, allocations: 90.78 kB / 403.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.057e-05/0.2936, allocations: 33.77 kB / 403.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.2936, allocations: 15.92 kB / 403.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.2936, allocations: 34.56 kB / 403.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2937, allocations: 0 / 403.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002847/0.2939, allocations: 109.5 kB / 403.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.294, allocations: 77.11 kB / 404 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2941, allocations: 137.8 kB / 404.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2941, allocations: 29.7 kB / 404.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2942, allocations: 80.14 kB / 404.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2942, allocations: 27.64 kB / 404.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.2942, allocations: 21.72 kB / 404.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.2943, allocations: 326.8 kB / 404.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/0.2944, allocations: 15.98 kB / 404.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.2945, allocations: 33.7 kB / 404.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.2946, allocations: 53.64 kB / 404.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2946, allocations: 0 / 404.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001663/0.2948, allocations: 69.67 kB / 404.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2948, allocations: 12 kB / 404.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2948, allocations: 0 / 404.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2948, allocations: 3.938 kB / 404.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.2949, allocations: 11.98 kB / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2949, allocations: 5.25 kB / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.2949, allocations: 0 / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.295, allocations: 5.438 kB / 404.8 MB, free: 11.85 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 6.98e-05/0.295, allocations: 118.8 kB / 405 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.2951, allocations: 15.89 kB / 405 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2953, allocations: 97.48 kB / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2953, allocations: 4 kB / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2953, allocations: 384 / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2953, allocations: 0 / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2954, allocations: 194 kB / 405.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2955, allocations: 0 / 405.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.2955, allocations: 15.88 kB / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2955, allocations: 4 kB / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.2955, allocations: 3.984 kB / 405.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2955, allocations: 4.562 kB / 405.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2956, allocations: 3.938 kB / 405.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.2958, allocations: 118.5 kB / 405.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.2958, allocations: 85 kB / 405.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.2959, allocations: 4 kB / 405.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.2959, allocations: 8 kB / 405.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.296, allocations: 7.984 kB / 405.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.296, allocations: 4.75 kB / 405.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.579e-05/0.2961, allocations: 107.3 kB / 405.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2961, allocations: 0 / 405.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001717/0.2978, allocations: 0.9447 MB / 406.6 MB, free: 10.02 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.003726/0.3015, allocations: 1.887 MB / 408.4 MB, free: 8.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3017, allocations: 48.19 kB / 408.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3017, allocations: 0 / 408.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.549e-05/0.3018, allocations: 31.98 kB / 408.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.302, allocations: 19.88 kB / 408.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.3042, allocations: 1.781 MB / 410.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3045, allocations: 0.6844 MB / 411 MB, free: 5.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.643e-05/0.3045, allocations: 23.89 kB / 411 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3046, allocations: 19.44 kB / 411.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3046, allocations: 4 kB / 411.1 MB, free: 5.383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.896/2.201, allocations: 29.48 MB / 440.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/16.31, allocations: 7.234 kB / 440.5 MB, free: 7.926 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