Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 114.8 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 200 kB / 18 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002726/0.2931, allocations: 1.349 MB / 401.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.3064, allocations: 12.08 MB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.3066, allocations: 0 / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.3067, allocations: 3.984 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.3104, allocations: 1.051 MB / 414.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.3127, allocations: 0.6295 MB / 415.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3129, allocations: 67.66 kB / 415.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.3129, allocations: 0 / 415.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.313, allocations: 31.91 kB / 415.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3131, allocations: 31.89 kB / 415.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3132, allocations: 4 kB / 415.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004369/0.3175, allocations: 1.612 MB / 417.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.3176, allocations: 11.98 kB / 417.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.3177, allocations: 23.86 kB / 417.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.3213, allocations: 1.068 MB / 418.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3213, allocations: 3.938 kB / 418.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3213, allocations: 0 / 418.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3213, allocations: 4 kB / 418.2 MB, free: 6.773 MB / 334.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.001098/0.3225, allocations: 0.538 MB / 418.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/0.3226, allocations: 12.03 kB / 418.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.3226, allocations: 34.75 kB / 418.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.3228, allocations: 8.938 kB / 418.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.323, allocations: 188.1 kB / 419 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3231, allocations: 4.375 kB / 419 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3231, allocations: 4.375 kB / 419 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3233, allocations: 63.33 kB / 419 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3233, allocations: 0 / 419 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3233, allocations: 4 kB / 419 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3234, allocations: 7.984 kB / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3235, allocations: 23.92 kB / 419.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.3238, allocations: 174.5 kB / 419.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3241, allocations: 77.19 kB / 419.3 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.3242, allocations: 37.7 kB / 419.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.3313, allocations: 3.301 MB / 422.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.3313, allocations: 38.56 kB / 422.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.3314, allocations: 0 / 422.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004095/0.3318, allocations: 85.5 kB / 422.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.3319, allocations: 77.11 kB / 422.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.332, allocations: 113.8 kB / 423 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.332, allocations: 29.7 kB / 423 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.3321, allocations: 84.14 kB / 423.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.3322, allocations: 19.8 kB / 423.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.3322, allocations: 17.72 kB / 423.1 MB, free: 1.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3324, allocations: 314.8 kB / 423.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.3324, allocations: 12 kB / 423.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.3325, allocations: 25.7 kB / 423.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3326, allocations: 46 kB / 423.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3326, allocations: 0 / 423.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001784/0.3328, allocations: 77.52 kB / 423.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3329, allocations: 4 kB / 423.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3329, allocations: 3.938 kB / 423.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3329, allocations: 0 / 423.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.333, allocations: 15.98 kB / 423.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.333, allocations: 0 / 423.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.333, allocations: 3.938 kB / 423.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3331, allocations: 8 kB / 423.6 MB, free: 0.6367 MB / 334.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 8.296e-05/0.3332, allocations: 109.8 kB / 423.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3332, allocations: 11.84 kB / 423.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.3335, allocations: 105.4 kB / 423.8 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3335, allocations: 4 kB / 423.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3335, allocations: 128 / 423.8 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3335, allocations: 4 kB / 423.8 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3337, allocations: 165.7 kB / 424 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3337, allocations: 3.938 kB / 424 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3337, allocations: 23.86 kB / 424 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3338, allocations: 4 kB / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3338, allocations: 0 / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.3338, allocations: 0 / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3338, allocations: 0 / 424 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.334, allocations: 109.8 kB / 424.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3341, allocations: 89.03 kB / 424.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3341, allocations: 0 / 424.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.3342, allocations: 4 kB / 424.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3343, allocations: 7.984 kB / 424.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.3343, allocations: 4 kB / 424.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.707e-05/0.3343, allocations: 95.27 kB / 424.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3343, allocations: 0 / 424.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000975/0.3353, allocations: 323.6 kB / 424.7 MB, free: 15.49 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.001835/0.3372, allocations: 1.125 MB / 425.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3374, allocations: 35.97 kB / 425.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3374, allocations: 0 / 425.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.3375, allocations: 24.2 kB / 425.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.3377, allocations: 19.36 kB / 425.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3396, allocations: 1.452 MB / 427.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.3399, allocations: 0.6846 MB / 428 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.34, allocations: 43.88 kB / 428 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.34, allocations: 27.36 kB / 428.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3401, allocations: 0 / 428.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.3711, allocations: 10.54 MB / 438.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.377, allocations: 23.12 kB / 438.6 MB, free: 1.445 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches