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.001594/0.001594, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001813/0.001813, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2358, allocations: 50.56 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002434/0.2383, allocations: 1.382 MB / 410.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03002/0.2684, allocations: 23.59 MB / 433.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.2684, allocations: 0 / 433.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2685, allocations: 3.938 kB / 433.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.283, allocations: 6.003 MB / 439.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.2838, allocations: 342.8 kB / 440.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.2839, allocations: 79.62 kB / 440.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.2839, allocations: 7.938 kB / 440.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.284, allocations: 31.91 kB / 440.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.2841, allocations: 35.89 kB / 440.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2841, allocations: 4 kB / 440.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01642/0.3005, allocations: 8.886 MB / 449.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.3006, allocations: 15.97 kB / 449.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3007, allocations: 23.88 kB / 449.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00919/0.3099, allocations: 4.393 MB / 453.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3099, allocations: 4 kB / 453.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3099, allocations: 7.938 kB / 453.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3099, allocations: 0 / 453.6 MB, free: 4.551 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.002336/0.3123, allocations: 0.9355 MB / 454.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3123, allocations: 16.02 kB / 454.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3124, allocations: 34.75 kB / 454.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3124, allocations: 8.891 kB / 454.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3127, allocations: 207.5 kB / 454.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3127, allocations: 0 / 454.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3127, allocations: 0 / 454.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3129, allocations: 79.33 kB / 454.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3129, allocations: 0 / 454.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3129, allocations: 0 / 454.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3129, allocations: 4 kB / 454.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.313, allocations: 35.91 kB / 454.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.3133, allocations: 186.5 kB / 455.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.3136, allocations: 97.17 kB / 455.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.3137, allocations: 37.7 kB / 455.2 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.3137, allocations: 8 kB / 455.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3138, allocations: 34.55 kB / 455.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.986e-06/0.3138, allocations: 7.984 kB / 455.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003128/0.3141, allocations: 101.5 kB / 455.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.3142, allocations: 81.11 kB / 455.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3143, allocations: 137.8 kB / 455.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3143, allocations: 25.7 kB / 455.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.3144, allocations: 84.14 kB / 455.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.3145, allocations: 27.78 kB / 455.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.3145, allocations: 17.72 kB / 455.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3147, allocations: 322.8 kB / 456.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.3147, allocations: 16.36 kB / 456.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.3148, allocations: 29.7 kB / 456.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3149, allocations: 57.62 kB / 456.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.315, allocations: 0 / 456.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001918/0.3152, allocations: 85.55 kB / 456.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3152, allocations: 8 kB / 456.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3152, allocations: 0 / 456.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3152, allocations: 0 / 456.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.3153, allocations: 15.98 kB / 456.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3153, allocations: 0 / 456.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.3153, allocations: 3.953 kB / 456.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3154, allocations: 4.125 kB / 456.3 MB, free: 1.602 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 9.761e-05/0.3155, allocations: 117.8 kB / 456.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.3155, allocations: 4 kB / 456.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3157, allocations: 109.5 kB / 456.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3158, allocations: 0 / 456.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3158, allocations: 3.938 kB / 456.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3158, allocations: 0.5625 kB / 456.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.3159, allocations: 185.5 kB / 456.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3159, allocations: 0 / 456.7 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.316, allocations: 12 kB / 456.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.316, allocations: 4 kB / 456.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.316, allocations: 7.938 kB / 456.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.316, allocations: 0 / 456.7 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.316, allocations: 4 kB / 456.7 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.3163, allocations: 109.9 kB / 456.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.3164, allocations: 93.05 kB / 456.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.3164, allocations: 3.984 kB / 456.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.3165, allocations: 8 kB / 456.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.3165, allocations: 0 / 456.9 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3165, allocations: 11.98 kB / 457 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.3166, allocations: 111.2 kB / 457.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.3166, allocations: 0 / 457.1 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002293/0.3189, allocations: 0.9586 MB / 458 MB, free: 15.77 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.004371/0.3233, allocations: 1.898 MB / 459.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3235, allocations: 51.91 kB / 460 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3235, allocations: 4 kB / 460 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.3236, allocations: 23.98 kB / 460 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3238, allocations: 15.98 kB / 460 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3262, allocations: 1.804 MB / 461.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3266, allocations: 0.6845 MB / 462.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.3266, allocations: 15.97 kB / 462.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3267, allocations: 23.42 kB / 462.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3267, allocations: 0 / 462.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06136/0.3881, allocations: 29.45 MB / 492 MB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.08, allocations: 5.109 kB / 492 MB, free: 13.7 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.1.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