Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001856/0.001856, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 214.7 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.88 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2698, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002381/0.2722, allocations: 1.378 MB / 432.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3832/0.6554, allocations: 152.4 MB / 0.5713 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.6554, allocations: 2.906 kB / 0.5713 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.6555, allocations: 6.062 kB / 0.5713 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.6566, allocations: 388.5 kB / 0.5716 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.6577, allocations: 0.5191 MB / 0.5721 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.6578, allocations: 78.98 kB / 0.5722 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.6578, allocations: 10.91 kB / 0.5722 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.6579, allocations: 32.33 kB / 0.5723 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.658, allocations: 39.84 kB / 0.5723 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.658, allocations: 2.125 kB / 0.5723 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.6599, allocations: 1.151 MB / 0.5734 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.6599, allocations: 15.09 kB / 0.5734 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.6599, allocations: 29.84 kB / 0.5735 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009897/0.6609, allocations: 0.6946 MB / 0.5741 GB, free: 12.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6609, allocations: 4 kB / 0.5741 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6609, allocations: 2.781 kB / 0.5741 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.661, allocations: 1.094 kB / 0.5741 GB, free: 12.72 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.0006079/0.6616, allocations: 384.7 kB / 0.5745 GB, free: 12.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.6616, allocations: 10.38 kB / 0.5745 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.6616, allocations: 34.12 kB / 0.5746 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.6621, allocations: 67.59 kB / 0.5746 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.6622, allocations: 146.4 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6622, allocations: 10.62 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.6623, allocations: 11 kB / 0.5748 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6624, allocations: 66.12 kB / 0.5748 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.6624, allocations: 0 / 0.5748 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.6624, allocations: 1.688 kB / 0.5748 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6624, allocations: 2.312 kB / 0.5748 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.6625, allocations: 45.06 kB / 0.5749 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/0.6627, allocations: 169.3 kB / 0.5751 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.663, allocations: 108.2 kB / 0.5752 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.6631, allocations: 35.78 kB / 0.5752 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004769/0.6636, allocations: 66.02 kB / 0.5753 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6636, allocations: 34.02 kB / 0.5753 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.6636, allocations: 0 / 0.5753 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003329/0.6639, allocations: 126.4 kB / 0.5754 GB, free: 11.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.664, allocations: 77.11 kB / 0.5755 GB, free: 11.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.6641, allocations: 148.5 kB / 0.5756 GB, free: 11.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6641, allocations: 25.7 kB / 0.5756 GB, free: 11.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.6642, allocations: 85.08 kB / 0.5757 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.6642, allocations: 29.34 kB / 0.5758 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.6642, allocations: 25.36 kB / 0.5758 GB, free: 11.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6644, allocations: 315.5 kB / 0.5761 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.6644, allocations: 26.84 kB / 0.5761 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.6645, allocations: 48.61 kB / 0.5762 GB, free: 11.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.6647, allocations: 86.34 kB / 0.5762 GB, free: 11.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6647, allocations: 5.062 kB / 0.5762 GB, free: 11.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002433/0.6649, allocations: 111.1 kB / 0.5763 GB, free: 11.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6649, allocations: 5.125 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6649, allocations: 0 / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.6649, allocations: 2.469 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.665, allocations: 14.94 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.665, allocations: 1.094 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.6651, allocations: 10.83 kB / 0.5764 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6651, allocations: 4.438 kB / 0.5764 GB, free: 11.05 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.273e-05/0.6652, allocations: 123.8 kB / 0.5765 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.6652, allocations: 2.344 kB / 0.5765 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.6654, allocations: 118.4 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6655, allocations: 0.875 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6655, allocations: 2.531 kB / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6655, allocations: 0 / 0.5766 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6656, allocations: 159.8 kB / 0.5768 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6656, allocations: 4.203 kB / 0.5768 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.6657, allocations: 20.03 kB / 0.5768 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.6657, allocations: 5.812 kB / 0.5768 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.6657, allocations: 3.031 kB / 0.5768 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6657, allocations: 0 / 0.5768 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6657, allocations: 0 / 0.5768 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.666, allocations: 164 kB / 0.577 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.666, allocations: 12.69 kB / 0.577 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6661, allocations: 2.562 kB / 0.577 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.267e-05/0.6661, allocations: 0 / 0.577 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.6661, allocations: 10.84 kB / 0.577 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.6661, allocations: 6.391 kB / 0.577 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.005e-05/0.6662, allocations: 112.9 kB / 0.5771 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6662, allocations: 0 / 0.5771 GB, free: 10.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005448/0.6668, allocations: 169.2 kB / 0.5773 GB, free: 10.51 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.001356/0.6681, allocations: 1.002 MB / 0.5782 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.6683, allocations: 69.41 kB / 0.5783 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6683, allocations: 0 / 0.5783 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.6684, allocations: 38.25 kB / 0.5783 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6686, allocations: 19.62 kB / 0.5784 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.6706, allocations: 1.746 MB / 0.5801 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.6709, allocations: 0.6915 MB / 0.5807 GB, free: 7.824 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.6709, allocations: 21.91 kB / 0.5808 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.671, allocations: 24.73 kB / 0.5808 GB, free: 7.805 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.671, allocations: 0 / 0.5808 GB, free: 7.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.7067, allocations: 6.408 MB / 0.587 GB, free: 5.082 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.66, allocations: 12.23 kB / 0.5871 GB, free: 5.078 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.270874197998637]