Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_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.0009781/0.0009781, allocations: 102.6 kB / 17.16 MB, free: 6.316 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.0009533/0.0009533, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 51.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07521/0.07643, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002273/0.07874, allocations: 1.424 MB / 328.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02778/0.1065, allocations: 25.51 MB / 353.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.1066, allocations: 4 kB / 353.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.1068, allocations: 7.922 kB / 353.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.1186, allocations: 4.571 MB / 358.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.1193, allocations: 326.9 kB / 358.5 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1195, allocations: 91.67 kB / 358.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.1195, allocations: 7.984 kB / 358.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.1196, allocations: 27.92 kB / 358.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.896e-05/0.1197, allocations: 47.77 kB / 358.7 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1197, allocations: 8 kB / 358.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.133, allocations: 8.804 MB / 367.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1331, allocations: 11.98 kB / 367.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.1332, allocations: 35.8 kB / 367.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008724/0.1419, allocations: 4.41 MB / 372 MB, free: 7.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1419, allocations: 0 / 372 MB, free: 7.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.142, allocations: 0 / 372 MB, free: 7.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.142, allocations: 3.938 kB / 372 MB, free: 7.387 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.00173/0.1437, allocations: 0.9124 MB / 372.9 MB, free: 6.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1438, allocations: 8.031 kB / 372.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.1438, allocations: 34.69 kB / 372.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1438, allocations: 4.938 kB / 372.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.144, allocations: 199.6 kB / 373.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.144, allocations: 4 kB / 373.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.144, allocations: 4 kB / 373.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1442, allocations: 67.39 kB / 373.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1442, allocations: 7.938 kB / 373.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1442, allocations: 4 kB / 373.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1442, allocations: 0 / 373.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1444, allocations: 35.91 kB / 373.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.1446, allocations: 182.5 kB / 373.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1448, allocations: 105.1 kB / 373.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.1449, allocations: 29.77 kB / 373.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.145, allocations: 8 kB / 373.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.145, allocations: 46.55 kB / 373.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.145, allocations: 0 / 373.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.1453, allocations: 105.5 kB / 373.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.1453, allocations: 77.11 kB / 373.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1455, allocations: 133.8 kB / 373.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1455, allocations: 29.7 kB / 373.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.1455, allocations: 84.14 kB / 374 MB, free: 5.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1456, allocations: 23.64 kB / 374 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1456, allocations: 21.72 kB / 374.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1457, allocations: 318.8 kB / 374.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.1458, allocations: 19.98 kB / 374.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.1458, allocations: 33.64 kB / 374.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.146, allocations: 57.98 kB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.146, allocations: 0 / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001758/0.1461, allocations: 81.61 kB / 374.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.1462, allocations: 4 kB / 374.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1462, allocations: 4 kB / 374.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1462, allocations: 4 kB / 374.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.1463, allocations: 11.98 kB / 374.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1463, allocations: 0 / 374.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.1463, allocations: 4 kB / 374.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1463, allocations: 3.984 kB / 374.6 MB, free: 4.48 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.784e-05/0.1464, allocations: 117.8 kB / 374.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1464, allocations: 7.906 kB / 374.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1467, allocations: 101.9 kB / 374.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1467, allocations: 0 / 374.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1467, allocations: 4 kB / 374.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1467, allocations: 0 / 374.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1468, allocations: 189.5 kB / 375 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1468, allocations: 0 / 375 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.1469, allocations: 11.94 kB / 375 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1469, allocations: 0 / 375 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1469, allocations: 4 kB / 375 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1469, allocations: 0 / 375 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1469, allocations: 4 kB / 375 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.1471, allocations: 117.8 kB / 375.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1472, allocations: 89 kB / 375.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1472, allocations: 192 / 375.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1473, allocations: 8 kB / 375.2 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1473, allocations: 19.92 kB / 375.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1474, allocations: 0 / 375.3 MB, free: 3.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.1474, allocations: 115.2 kB / 375.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1474, allocations: 0 / 375.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001838/0.1493, allocations: 0.9252 MB / 376.3 MB, free: 2.676 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.003929/0.1532, allocations: 1.886 MB / 378.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1534, allocations: 47.91 kB / 378.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1534, allocations: 0 / 378.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.1535, allocations: 31.92 kB / 378.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1537, allocations: 19.94 kB / 378.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/0.2727, allocations: 1.768 MB / 380 MB, free: 51.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.964e-05/0.2728, allocations: 0.684 MB / 380.7 MB, free: 50.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.2729, allocations: 16.23 kB / 380.7 MB, free: 50.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.2729, allocations: 29 kB / 380.8 MB, free: 50.41 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2729, allocations: 0 / 380.8 MB, free: 50.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.3177, allocations: 30.51 MB / 411.3 MB, free: 31.88 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.3179, allocations: 235.7 kB / 411.5 MB, free: 31.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.045/3.363, allocations: 0 / 411.5 MB, free: 31.63 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches