Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 210.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.782/1.782, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 71.89 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3574, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00229/0.3597, allocations: 497 kB / 0.561 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.364, allocations: 2.16 MB / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-06/0.364, allocations: 0 / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-06/0.364, allocations: 0 / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.283e-06/0.364, allocations: 0 / 0.5632 GB, free: 1.586 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:8:5-88:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:90:5-160:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:162:5-239:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Nonlinear.mo:241:5-319:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.3666, allocations: 0.6405 MB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.3666, allocations: 12 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.3666, allocations: 0 / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.3668, allocations: 15.97 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.3668, allocations: 4 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-06/0.3669, allocations: 0 / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.3681, allocations: 0.6505 MB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.3682, allocations: 0 / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.3682, allocations: 4 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008151/0.369, allocations: 447.1 kB / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.369, allocations: 0 / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.369, allocations: 0 / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.369, allocations: 0 / 0.5649 GB, free: 15.83 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004684/0.3695, allocations: 355.3 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3695, allocations: 12.02 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.3696, allocations: 110 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3697, allocations: 80.22 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3698, allocations: 177.8 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.3699, allocations: 158.9 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.3699, allocations: 158.4 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.37, allocations: 101 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.37, allocations: 79.22 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.26e-05/0.3701, allocations: 158.5 kB / 0.5662 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.3702, allocations: 150.6 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.3702, allocations: 150.6 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3705, allocations: 421 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3706, allocations: 173.1 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.3707, allocations: 84.08 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.3707, allocations: 75.28 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/0.3708, allocations: 135.5 kB / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3708, allocations: 0 / 0.5673 GB, free: 13.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.243e-05/0.3709, allocations: 25.7 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.371, allocations: 160.4 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.371, allocations: 89.86 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.371, allocations: 25.7 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.3711, allocations: 80.14 kB / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.3711, allocations: 0 / 0.5677 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.3711, allocations: 21.7 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3713, allocations: 318.8 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.3713, allocations: 0 / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.3713, allocations: 29.64 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3713, allocations: 75.28 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.214e-05/0.3714, allocations: 79.28 kB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.296e-05/0.3714, allocations: 33.7 kB / 0.5682 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.3715, allocations: 83.28 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/0.3715, allocations: 75.28 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.214e-05/0.3716, allocations: 162.5 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-05/0.3716, allocations: 83.31 kB / 0.5686 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.688e-05/0.3717, allocations: 158.5 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.3718, allocations: 75.28 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.3718, allocations: 83.33 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 0.0001452/0.372, allocations: 260.3 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.3721, allocations: 112.9 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.3721, allocations: 111.8 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.601e-05/0.3722, allocations: 180.2 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.172e-05/0.3723, allocations: 180.3 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.285e-05/0.3724, allocations: 180.2 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.3726, allocations: 384.2 kB / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-05/0.3727, allocations: 101 kB / 0.5704 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3727, allocations: 104.9 kB / 0.5705 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.909e-05/0.3728, allocations: 180.3 kB / 0.5706 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.3729, allocations: 184.1 kB / 0.5708 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.151e-05/0.373, allocations: 180.2 kB / 0.571 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-05/0.3731, allocations: 180.3 kB / 0.5712 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.3733, allocations: 307.7 kB / 0.5715 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.12e-05/0.3734, allocations: 116.9 kB / 0.5716 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.3735, allocations: 180.3 kB / 0.5717 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.3736, allocations: 105 kB / 0.5718 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.3737, allocations: 184.2 kB / 0.572 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.3737, allocations: 101 kB / 0.5721 GB, free: 7.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.3737, allocations: 75.28 kB / 0.5722 GB, free: 7.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3737, allocations: 0 / 0.5722 GB, free: 7.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.3743, allocations: 143.6 kB / 0.5723 GB, free: 7.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001372/0.3757, allocations: 1.057 MB / 0.5733 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.071e-05/0.3758, allocations: 4 kB / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3758, allocations: 0 / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.3758, allocations: 0 / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3762, allocations: 455.7 kB / 0.5738 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3767, allocations: 250 kB / 0.574 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.3767, allocations: 55.34 kB / 0.5741 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.3767, allocations: 0 / 0.5741 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.3767, allocations: 11.44 kB / 0.5741 GB, free: 5.871 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3767, allocations: 0 / 0.5741 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.4109, allocations: 4.714 MB / 0.5787 GB, free: 1.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 7.875 kB / 0.5787 GB, free: 1.281 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.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: 15.140029271133244]