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.001332/0.001332, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.002196/0.002196, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2184/0.2184, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.001998/0.001998, allocations: 67.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 66.03 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00174/0.3708, allocations: 499.9 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.3744, allocations: 2.171 MB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-06/0.3744, allocations: 0 / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.097e-06/0.3744, allocations: 0 / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-06/0.3744, allocations: 0 / 0.5632 GB, free: 1.598 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.002283/0.3767, allocations: 0.6328 MB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.062e-05/0.3767, allocations: 4 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.3768, allocations: 11.98 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.3769, allocations: 19.92 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.377, allocations: 4 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.751e-06/0.377, allocations: 0 / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.3781, allocations: 0.6633 MB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.3781, allocations: 0 / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.3782, allocations: 4 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.3788, allocations: 443.2 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3788, allocations: 7.984 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3788, allocations: 4 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3789, allocations: 3.938 kB / 0.5649 GB, free: 15.81 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.0004481/0.3793, allocations: 355.3 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3793, allocations: 8.031 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.393e-05/0.3794, allocations: 106 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.3795, allocations: 84.2 kB / 0.5654 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3796, allocations: 177.8 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.3797, allocations: 150.9 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.3798, allocations: 162.5 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.3799, allocations: 108.9 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.3799, allocations: 75.28 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.38, allocations: 150.6 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.982e-05/0.38, allocations: 154.5 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.3801, allocations: 154.6 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.3804, allocations: 413 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3805, allocations: 177 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.3806, allocations: 80.14 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.3806, allocations: 75.28 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.3807, allocations: 139.5 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3807, allocations: 4 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.513e-05/0.3808, allocations: 25.7 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.3809, allocations: 156.4 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.614e-05/0.3809, allocations: 97.78 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.381, allocations: 33.64 kB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.381, allocations: 80.14 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.381, allocations: 0 / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.381, allocations: 13.72 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3812, allocations: 310.8 kB / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.3812, allocations: 0 / 0.5681 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.3812, allocations: 29.7 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.3813, allocations: 79.31 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.3813, allocations: 75.28 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.049e-05/0.3813, allocations: 41.69 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.3814, allocations: 79.28 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/0.3814, allocations: 83.22 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.51e-05/0.3815, allocations: 154.6 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.3815, allocations: 75.28 kB / 0.5686 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.89e-05/0.3816, allocations: 158.5 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.3817, allocations: 75.28 kB / 0.5689 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3817, allocations: 83.27 kB / 0.5689 GB, free: 11.44 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.0001559/0.3819, allocations: 268.4 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.382, allocations: 112.9 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.382, allocations: 111.7 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.851e-05/0.3821, allocations: 180.2 kB / 0.5696 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-05/0.3822, allocations: 180.3 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/0.3823, allocations: 184.2 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3826, allocations: 376.2 kB / 0.5703 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-05/0.3826, allocations: 104.9 kB / 0.5704 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3827, allocations: 101 kB / 0.5705 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.932e-05/0.3827, allocations: 180.2 kB / 0.5707 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.3828, allocations: 184.2 kB / 0.5708 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-05/0.3829, allocations: 180.3 kB / 0.571 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.075e-05/0.383, allocations: 180.2 kB / 0.5712 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3832, allocations: 311.8 kB / 0.5715 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3832, allocations: 108.9 kB / 0.5716 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3833, allocations: 184.3 kB / 0.5718 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.3834, allocations: 104.9 kB / 0.5719 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3835, allocations: 180.3 kB / 0.572 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.3836, allocations: 108.9 kB / 0.5721 GB, free: 7.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.756e-05/0.3836, allocations: 75.28 kB / 0.5722 GB, free: 7.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3836, allocations: 0 / 0.5722 GB, free: 7.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.3842, allocations: 143.5 kB / 0.5723 GB, free: 7.742 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.001221/0.3854, allocations: 1.052 MB / 0.5734 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.966e-05/0.3854, allocations: 4 kB / 0.5734 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3854, allocations: 0 / 0.5734 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.3855, allocations: 3.938 kB / 0.5734 GB, free: 6.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3858, allocations: 459.7 kB / 0.5738 GB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.3863, allocations: 246.1 kB / 0.5741 GB, free: 5.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.956e-05/0.3863, allocations: 55.34 kB / 0.5741 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.134e-06/0.3863, allocations: 0 / 0.5741 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3863, allocations: 15.38 kB / 0.5741 GB, free: 5.836 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3864, allocations: 0 / 0.5741 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.4198, allocations: 4.727 MB / 0.5787 GB, free: 1.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.32, allocations: 0 / 0.5787 GB, free: 1.242 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.199293574987678]