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.001234/0.001234, allocations: 107.7 kB / 17.06 MB, free: 5.992 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.001163/0.001163, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2194, allocations: 49.44 MB / 400.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002251/0.2217, allocations: 1.371 MB / 401.6 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02946/0.2512, allocations: 23.54 MB / 425.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.2513, allocations: 0 / 425.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.2514, allocations: 7.938 kB / 425.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.2655, allocations: 5.968 MB / 431.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.2663, allocations: 358.6 kB / 431.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2664, allocations: 75.69 kB / 431.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.2665, allocations: 3.938 kB / 431.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.2665, allocations: 31.91 kB / 431.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.816e-05/0.2666, allocations: 43.89 kB / 431.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2667, allocations: 4 kB / 431.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0154/0.2821, allocations: 8.863 MB / 440.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.2821, allocations: 15.97 kB / 440.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.2822, allocations: 31.86 kB / 440.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008925/0.2911, allocations: 4.369 MB / 444.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2912, allocations: 0 / 444.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2912, allocations: 4 kB / 444.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.2912, allocations: 0 / 444.9 MB, free: 12.17 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.002063/0.2933, allocations: 0.9316 MB / 445.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2933, allocations: 12.03 kB / 445.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.2934, allocations: 38.73 kB / 445.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2934, allocations: 8.938 kB / 445.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.2936, allocations: 191.7 kB / 446.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2936, allocations: 0 / 446.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2937, allocations: 11.94 kB / 446.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2938, allocations: 67.38 kB / 446.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2939, allocations: 0 / 446.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2939, allocations: 4 kB / 446.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2939, allocations: 0 / 446.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.294, allocations: 35.98 kB / 446.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.2943, allocations: 198.4 kB / 446.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.2946, allocations: 97.17 kB / 446.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/0.2947, allocations: 37.77 kB / 446.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.2947, allocations: 8 kB / 446.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.2948, allocations: 38.5 kB / 446.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2948, allocations: 0 / 446.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003107/0.2951, allocations: 101.6 kB / 446.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.2952, allocations: 77.11 kB / 446.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2953, allocations: 145.8 kB / 446.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2953, allocations: 25.7 kB / 446.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.2954, allocations: 88.14 kB / 447 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.2954, allocations: 15.86 kB / 447 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.2955, allocations: 21.7 kB / 447 MB, free: 9.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2956, allocations: 318.8 kB / 447.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.2957, allocations: 23.92 kB / 447.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.2958, allocations: 29.7 kB / 447.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2959, allocations: 58 kB / 447.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2959, allocations: 0 / 447.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.2961, allocations: 85.61 kB / 447.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2962, allocations: 4 kB / 447.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.2962, allocations: 0 / 447.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2962, allocations: 4 kB / 447.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.2963, allocations: 11.94 kB / 447.6 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2963, allocations: 4 kB / 447.6 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.2963, allocations: 11.92 kB / 447.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.2963, allocations: 0 / 447.6 MB, free: 9.219 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.918e-05/0.2964, allocations: 117.8 kB / 447.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.2965, allocations: 7.953 kB / 447.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.2967, allocations: 97.48 kB / 447.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2967, allocations: 0 / 447.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2967, allocations: 8 kB / 447.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2967, allocations: 0 / 447.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2969, allocations: 177.6 kB / 448 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2969, allocations: 0 / 448 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.297, allocations: 11.98 kB / 448 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.297, allocations: 0 / 448 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.297, allocations: 8 kB / 448 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.297, allocations: 0 / 448 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.297, allocations: 0 / 448 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2972, allocations: 117.8 kB / 448.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.2973, allocations: 89.28 kB / 448.2 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.2974, allocations: 4.375 kB / 448.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.2974, allocations: 7.984 kB / 448.2 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2975, allocations: 4 kB / 448.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.2975, allocations: 4 kB / 448.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.2976, allocations: 123.1 kB / 448.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2976, allocations: 4 kB / 448.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002097/0.2997, allocations: 0.9469 MB / 449.3 MB, free: 7.402 MB / 366.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.004378/0.3041, allocations: 1.89 MB / 451.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.3043, allocations: 47.91 kB / 451.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3043, allocations: 0 / 451.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.3044, allocations: 27.98 kB / 451.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3046, allocations: 20.05 kB / 451.3 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3071, allocations: 1.793 MB / 453.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3074, allocations: 0.6846 MB / 453.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.3075, allocations: 19.97 kB / 453.8 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.3075, allocations: 19.44 kB / 453.8 MB, free: 2.746 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3075, allocations: 3.938 kB / 453.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06201/0.3696, allocations: 29.27 MB / 483.1 MB, free: 5.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.951/9.321, allocations: 7.922 kB / 483.1 MB, free: 5.523 MB / 398.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