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.001771/0.001771, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002956/0.002956, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.538/1.538, 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.2651/0.2651, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 75.83 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.389, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001705/0.3907, allocations: 497.1 kB / 0.5615 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.3942, allocations: 2.171 MB / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-06/0.3942, allocations: 0 / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.877e-06/0.3942, allocations: 0 / 0.5637 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.272e-06/0.3942, allocations: 0 / 0.5637 GB, free: 1.496 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.002254/0.3965, allocations: 0.6267 MB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.3965, allocations: 7.984 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3966, allocations: 7.984 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3967, allocations: 19.92 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.3968, allocations: 7.938 kB / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-06/0.3968, allocations: 0 / 0.5643 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.3979, allocations: 0.6434 MB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-06/0.3979, allocations: 0 / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.3979, allocations: 8 kB / 0.565 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006571/0.3986, allocations: 449.8 kB / 0.5654 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3986, allocations: 4 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3986, allocations: 0 / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3986, allocations: 0 / 0.5654 GB, free: 15.74 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.0004196/0.399, allocations: 351.3 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3991, allocations: 8.031 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.3991, allocations: 76.22 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3993, allocations: 185.8 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.3993, allocations: 154.9 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.3994, allocations: 162.7 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.3995, allocations: 105 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.3995, allocations: 75.28 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.3996, allocations: 154.5 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/0.3997, allocations: 150.6 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.3998, allocations: 154.6 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.4, allocations: 393.6 kB / 0.5673 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4002, allocations: 169.1 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.4002, allocations: 80.14 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.4002, allocations: 79.22 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/0.4003, allocations: 143.5 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4003, allocations: 4 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.591e-05/0.4004, allocations: 29.69 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.4005, allocations: 152.4 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.4005, allocations: 89.86 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.4006, allocations: 29.7 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.4006, allocations: 80.14 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.4006, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.4006, allocations: 13.72 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4008, allocations: 310.8 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-06/0.4008, allocations: 0 / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.4008, allocations: 37.64 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.4009, allocations: 75.28 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/0.4009, allocations: 79.22 kB / 0.5686 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.339e-05/0.401, allocations: 37.75 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.401, allocations: 87.22 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.401, allocations: 75.28 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-05/0.4011, allocations: 158.5 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.371e-05/0.4012, allocations: 75.28 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-05/0.4012, allocations: 154.5 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.4013, allocations: 79.28 kB / 0.5692 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.4013, allocations: 83.31 kB / 0.5693 GB, free: 11.52 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.0001495/0.4015, allocations: 272.4 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.4016, allocations: 104.9 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.4016, allocations: 111.8 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.737e-05/0.4017, allocations: 180.2 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.86e-05/0.4018, allocations: 180.2 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-05/0.4019, allocations: 180.3 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.4021, allocations: 356.8 kB / 0.5706 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.555e-05/0.4022, allocations: 105 kB / 0.5707 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.4022, allocations: 104.9 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.659e-05/0.4023, allocations: 184.2 kB / 0.571 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.4024, allocations: 192.1 kB / 0.5712 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.89e-05/0.4025, allocations: 176.3 kB / 0.5713 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.613e-05/0.4026, allocations: 180.3 kB / 0.5715 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.4027, allocations: 307.8 kB / 0.5718 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.4028, allocations: 108.9 kB / 0.5719 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.4029, allocations: 188.2 kB / 0.5721 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.403, allocations: 101 kB / 0.5722 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/0.403, allocations: 184.2 kB / 0.5724 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.4031, allocations: 105 kB / 0.5725 GB, free: 8.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.4031, allocations: 75.28 kB / 0.5725 GB, free: 8.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4031, allocations: 4 kB / 0.5725 GB, free: 8.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.4036, allocations: 139.6 kB / 0.5727 GB, free: 7.871 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.0008214/0.4045, allocations: 417.4 kB / 0.5731 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.202e-05/0.4045, allocations: 3.938 kB / 0.5731 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4045, allocations: 0 / 0.5731 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.4045, allocations: 4 kB / 0.5731 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4049, allocations: 463.7 kB / 0.5735 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.4051, allocations: 148.3 kB / 0.5737 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.764e-05/0.4051, allocations: 55.34 kB / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.142e-06/0.4051, allocations: 0 / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.4051, allocations: 11.44 kB / 0.5737 GB, free: 6.738 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4051, allocations: 0 / 0.5737 GB, free: 6.738 MB / 414.1 MB Notification: Performance of Templates: time 0.008008/0.4132, allocations: 3.256 MB / 0.5769 GB, free: 3.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/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: 5.438329579308629]