Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 106 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 43.94 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09181, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002459/0.09426, allocations: 1.379 MB / 419.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3694/0.4636, allocations: 149.5 MB / 0.556 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.4637, allocations: 0 / 0.556 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.4637, allocations: 3.938 kB / 0.556 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.4648, allocations: 380.4 kB / 0.5564 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.4659, allocations: 0.5096 MB / 0.5569 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.466, allocations: 71.59 kB / 0.5569 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.967e-05/0.466, allocations: 4 kB / 0.5569 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.4661, allocations: 39.83 kB / 0.557 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.4662, allocations: 35.91 kB / 0.557 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.4662, allocations: 0 / 0.557 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.4679, allocations: 1.122 MB / 0.5581 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.4679, allocations: 11.92 kB / 0.5581 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.468, allocations: 27.88 kB / 0.5582 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000974/0.469, allocations: 0.6944 MB / 0.5588 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.469, allocations: 1.5 kB / 0.5588 GB, free: 12.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.469, allocations: 0 / 0.5588 GB, free: 12.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.469, allocations: 0 / 0.5588 GB, free: 12.75 MB / 462.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.0006262/0.4696, allocations: 470.2 kB / 0.5593 GB, free: 12.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4696, allocations: 8.031 kB / 0.5593 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.754e-05/0.4697, allocations: 4.188 kB / 0.5593 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.4697, allocations: 38.73 kB / 0.5593 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.4701, allocations: 68.75 kB / 0.5594 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.4703, allocations: 200 kB / 0.5596 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4703, allocations: 4 kB / 0.5596 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4704, allocations: 4 kB / 0.5596 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4705, allocations: 71.39 kB / 0.5597 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4705, allocations: 3.984 kB / 0.5597 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4705, allocations: 4.688 kB / 0.5597 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4706, allocations: 0 / 0.5597 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4707, allocations: 43.91 kB / 0.5597 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.4709, allocations: 195.4 kB / 0.5599 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4712, allocations: 117.1 kB / 0.56 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.4713, allocations: 37.77 kB / 0.56 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.4718, allocations: 137 kB / 0.5602 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4718, allocations: 34.55 kB / 0.5602 GB, free: 11.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4718, allocations: 0 / 0.5602 GB, free: 11.13 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003612/0.4722, allocations: 117.5 kB / 0.5603 GB, free: 11.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4722, allocations: 88.11 kB / 0.5604 GB, free: 10.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.4723, allocations: 141.8 kB / 0.5605 GB, free: 10.76 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4724, allocations: 25.7 kB / 0.5606 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.4724, allocations: 88.14 kB / 0.5607 GB, free: 10.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.4724, allocations: 27.78 kB / 0.5607 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.4725, allocations: 17.72 kB / 0.5607 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4726, allocations: 326.8 kB / 0.561 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.4727, allocations: 24.73 kB / 0.561 GB, free: 10.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.4728, allocations: 51.36 kB / 0.5611 GB, free: 10.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.4729, allocations: 79.39 kB / 0.5612 GB, free: 10.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4729, allocations: 0 / 0.5612 GB, free: 10.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002549/0.4732, allocations: 117.9 kB / 0.5613 GB, free: 9.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4732, allocations: 4 kB / 0.5613 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4732, allocations: 4 kB / 0.5613 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4732, allocations: 0 / 0.5613 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.4733, allocations: 17.03 kB / 0.5613 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4733, allocations: 0 / 0.5613 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.4733, allocations: 7.984 kB / 0.5613 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.4733, allocations: 4 kB / 0.5613 GB, free: 9.93 MB / 462.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 8.823e-05/0.4734, allocations: 125.8 kB / 0.5614 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.4735, allocations: 7.953 kB / 0.5614 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.4737, allocations: 116.1 kB / 0.5615 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4737, allocations: 0 / 0.5615 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4737, allocations: 0 / 0.5615 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4737, allocations: 0 / 0.5615 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4739, allocations: 182.2 kB / 0.5617 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4739, allocations: 4 kB / 0.5617 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.474, allocations: 11.98 kB / 0.5617 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.474, allocations: 4.75 kB / 0.5617 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.474, allocations: 4 kB / 0.5617 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.474, allocations: 0 / 0.5617 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.474, allocations: 0 / 0.5617 GB, free: 9.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.4743, allocations: 172.8 kB / 0.5619 GB, free: 9.234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.4744, allocations: 88.98 kB / 0.562 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4744, allocations: 8.094 kB / 0.562 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.4745, allocations: 7.984 kB / 0.562 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4745, allocations: 7.938 kB / 0.562 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.4745, allocations: 0 / 0.562 GB, free: 9.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.267e-05/0.4746, allocations: 115.2 kB / 0.5621 GB, free: 8.992 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4746, allocations: 0 / 0.5621 GB, free: 8.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.4751, allocations: 159.5 kB / 0.5623 GB, free: 8.836 MB / 462.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.0015/0.4766, allocations: 1.029 MB / 0.5633 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.4768, allocations: 59.89 kB / 0.5633 GB, free: 7.723 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4768, allocations: 0 / 0.5633 GB, free: 7.723 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.4769, allocations: 36.11 kB / 0.5634 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.4771, allocations: 28.39 kB / 0.5634 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.4791, allocations: 1.728 MB / 0.5651 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4794, allocations: 0.6963 MB / 0.5658 GB, free: 5.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.4794, allocations: 16.03 kB / 0.5658 GB, free: 5.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.4795, allocations: 23.38 kB / 0.5658 GB, free: 5.074 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4795, allocations: 0 / 0.5658 GB, free: 5.074 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.5051, allocations: 6.362 MB / 0.572 GB, free: 14.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.45, allocations: 12.53 kB / 0.572 GB, free: 14.86 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.87149839795893]