Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 89.03 kB / 16.65 MB, free: 6.535 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.001078/0.001078, allocations: 173.4 kB / 17.56 MB, free: 6.184 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.178/1.178, allocations: 223.3 MB / 241.6 MB, free: 14.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000215/0.0002149, allocations: 4 kB / 301.5 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07716/0.07739, allocations: 50.42 MB / 351.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.0012/0.07862, allocations: 1.095 MB / 353 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1638/0.2425, allocations: 24.92 MB / 378 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.2426, allocations: 5.156 kB / 378 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2427, allocations: 7.031 kB / 378 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.2541, allocations: 4.914 MB / 382.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.2547, allocations: 327.7 kB / 383.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2548, allocations: 93.48 kB / 383.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.2548, allocations: 2.188 kB / 383.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.2549, allocations: 37.73 kB / 383.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.255, allocations: 39.7 kB / 383.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.255, allocations: 2.844 kB / 383.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.2688, allocations: 8.902 MB / 392.3 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.2688, allocations: 17.34 kB / 392.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.2689, allocations: 54.14 kB / 392.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.2758, allocations: 4.424 MB / 396.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2758, allocations: 0 / 396.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2758, allocations: 0 / 396.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2758, allocations: 0 / 396.8 MB, free: 3.84 MB / 302.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.002039/0.2778, allocations: 0.8989 MB / 397.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2779, allocations: 9.625 kB / 397.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.2779, allocations: 38.47 kB / 397.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.2779, allocations: 6.625 kB / 397.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2781, allocations: 201.7 kB / 397.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2781, allocations: 2.594 kB / 397.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.2781, allocations: 0 / 397.9 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2782, allocations: 74.33 kB / 398 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.2782, allocations: 0 / 398 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.2782, allocations: 2.094 kB / 398 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2783, allocations: 0 / 398 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.2784, allocations: 36.44 kB / 398 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.2785, allocations: 197.6 kB / 398.2 MB, free: 2.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.2787, allocations: 99.36 kB / 398.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.2788, allocations: 26.72 kB / 398.4 MB, free: 2.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.2789, allocations: 16.33 kB / 398.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.2789, allocations: 34.5 kB / 398.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2789, allocations: 0 / 398.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002415/0.2791, allocations: 102 kB / 398.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.2792, allocations: 77.11 kB / 398.6 MB, free: 2.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.2792, allocations: 139.2 kB / 398.7 MB, free: 2.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.2793, allocations: 32.42 kB / 398.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.2793, allocations: 88.12 kB / 398.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2793, allocations: 18.73 kB / 398.8 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.2793, allocations: 13.72 kB / 398.9 MB, free: 1.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.2794, allocations: 322.2 kB / 399.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.2794, allocations: 19.36 kB / 399.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.2795, allocations: 31.55 kB / 399.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.2796, allocations: 51.64 kB / 399.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2796, allocations: 0 / 399.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001387/0.2797, allocations: 80.61 kB / 399.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2798, allocations: 5.562 kB / 399.4 MB, free: 1.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2798, allocations: 7.875 kB / 399.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2798, allocations: 3.281 kB / 399.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.2798, allocations: 17.36 kB / 399.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2798, allocations: 0 / 399.4 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.578e-05/0.2799, allocations: 3.938 kB / 399.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2799, allocations: 7.344 kB / 399.4 MB, free: 1.531 MB / 302.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 4.631e-05/0.2799, allocations: 116.5 kB / 399.5 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.28, allocations: 6.703 kB / 399.5 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.2802, allocations: 103.7 kB / 399.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2802, allocations: 0 / 399.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2802, allocations: 3.125 kB / 399.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2802, allocations: 0 / 399.6 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.955e-05/0.2803, allocations: 182.7 kB / 399.8 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2803, allocations: 4 kB / 399.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.2803, allocations: 10.16 kB / 399.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2803, allocations: 0 / 399.8 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.2804, allocations: 6.172 kB / 399.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2804, allocations: 0 / 399.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2804, allocations: 2.125 kB / 399.8 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2805, allocations: 117.8 kB / 399.9 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.2806, allocations: 87.78 kB / 400 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2806, allocations: 11.28 kB / 400 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/0.2807, allocations: 2.844 kB / 400 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.2807, allocations: 5.734 kB / 400 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2807, allocations: 7.266 kB / 400.1 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.2808, allocations: 108.4 kB / 400.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2808, allocations: 0 / 400.2 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001956/0.2827, allocations: 0.9445 MB / 401.1 MB, free: 0.6016 MB / 302.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.004314/0.287, allocations: 1.878 MB / 403 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2872, allocations: 55.91 kB / 403 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2872, allocations: 0 / 403 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.2873, allocations: 19.98 kB / 403.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2875, allocations: 22.91 kB / 403.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.2897, allocations: 1.803 MB / 404.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2899, allocations: 0.6809 MB / 405.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.29, allocations: 20.34 kB / 405.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.29, allocations: 27.42 kB / 405.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.29, allocations: 0 / 405.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6072/0.8972, allocations: 28.98 MB / 434.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.8974, allocations: 246.4 kB / 434.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.163/4.061, allocations: 0 / 434.8 MB, free: 15.15 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches