Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_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.001027/0.001028, allocations: 110.3 kB / 17.28 MB, free: 6.215 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.0011/0.0011, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.327/1.327, allocations: 205.1 MB / 224 MB, free: 12.33 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.001092/0.001092, allocations: 47.92 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08428, allocations: 46.63 MB / 326.9 MB, free: 4.688 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002465/0.08678, allocations: 1.428 MB / 328.3 MB, free: 3.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3075/0.3943, allocations: 148.6 MB / 476.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.3944, allocations: 0 / 476.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.3945, allocations: 7.922 kB / 476.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.3955, allocations: 320.8 kB / 477.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3972, allocations: 0.7402 MB / 477.9 MB, free: 392 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.3973, allocations: 79.64 kB / 478 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.3973, allocations: 7.938 kB / 478 MB, free: 304 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.3974, allocations: 31.86 kB / 478.1 MB, free: 272 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.3975, allocations: 46.45 kB / 478.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3975, allocations: 4 kB / 478.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.3995, allocations: 1.411 MB / 479.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.3995, allocations: 19.91 kB / 479.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3996, allocations: 23.88 kB / 479.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.4008, allocations: 0.9275 MB / 480.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4008, allocations: 4 kB / 480.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4008, allocations: 0 / 480.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4008, allocations: 0 / 480.5 MB, free: 13.83 MB / 382.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.0005395/0.4013, allocations: 475.9 kB / 481 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4014, allocations: 12.03 kB / 481 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.4014, allocations: 34.73 kB / 481 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.4017, allocations: 48.72 kB / 481.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4019, allocations: 192.2 kB / 481.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4019, allocations: 384 / 481.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4019, allocations: 15.88 kB / 481.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.402, allocations: 72.14 kB / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-06/0.4021, allocations: 0 / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.4021, allocations: 0 / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4021, allocations: 3.984 kB / 481.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.4022, allocations: 43.97 kB / 481.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.4024, allocations: 198.5 kB / 481.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.4026, allocations: 113.2 kB / 481.7 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.4027, allocations: 33.69 kB / 481.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.4032, allocations: 137 kB / 481.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.4033, allocations: 41.25 kB / 481.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4033, allocations: 1.219 kB / 481.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003366/0.4036, allocations: 121.5 kB / 482 MB, free: 12.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.4038, allocations: 81.11 kB / 482.1 MB, free: 12.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4039, allocations: 142.4 kB / 482.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4039, allocations: 25.7 kB / 482.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.404, allocations: 88.14 kB / 482.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.404, allocations: 19.66 kB / 482.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.404, allocations: 25.7 kB / 482.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4042, allocations: 318.8 kB / 482.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.4042, allocations: 31.97 kB / 482.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4044, allocations: 51.41 kB / 482.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.4045, allocations: 87.34 kB / 482.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4045, allocations: 0 / 482.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002367/0.4048, allocations: 113.8 kB / 483 MB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4048, allocations: 7.938 kB / 483 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4048, allocations: 0 / 483 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4048, allocations: 7.938 kB / 483 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.4049, allocations: 15.98 kB / 483 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4049, allocations: 0 / 483 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.405, allocations: 8 kB / 483 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.405, allocations: 8.062 kB / 483 MB, free: 11.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 7.542e-05/0.4051, allocations: 117.8 kB / 483.1 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.4051, allocations: 7.891 kB / 483.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4054, allocations: 113.9 kB / 483.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4054, allocations: 4 kB / 483.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4054, allocations: 0 / 483.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4054, allocations: 0 / 483.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4055, allocations: 189.5 kB / 483.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4056, allocations: 4 kB / 483.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.4056, allocations: 15.94 kB / 483.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4056, allocations: 0 / 483.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.4057, allocations: 3.984 kB / 483.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4057, allocations: 7.938 kB / 483.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4057, allocations: 0 / 483.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.406, allocations: 161.8 kB / 483.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.4061, allocations: 89.12 kB / 483.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4061, allocations: 4 kB / 483.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.4061, allocations: 0 / 483.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.4062, allocations: 11.98 kB / 483.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.4062, allocations: 0 / 483.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.545e-05/0.4063, allocations: 115.2 kB / 483.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4063, allocations: 0 / 483.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006098/0.4069, allocations: 203.8 kB / 484 MB, free: 9.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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.001665/0.4086, allocations: 1.119 MB / 485.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.4088, allocations: 67.89 kB / 485.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4088, allocations: 0 / 485.2 MB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.4089, allocations: 36.33 kB / 485.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.4091, allocations: 25.14 kB / 485.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4112, allocations: 1.769 MB / 487.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.4114, allocations: 0.6846 MB / 487.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.4115, allocations: 19.98 kB / 487.8 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.4116, allocations: 27.38 kB / 487.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4116, allocations: 4 kB / 487.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.431, allocations: 7.53 MB / 495.3 MB, free: 14.44 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.4312, allocations: 260.1 kB / 495.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.468, allocations: 0 / 495.6 MB, free: 14.16 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.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/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches