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.00137/0.00137, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001564/0.001564, allocations: 213.9 kB / 24.48 MB, free: 3.941 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.419/1.419, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2287/0.2287, allocations: 46.97 MB / 361.6 MB, free: 4.012 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: 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.002029/0.002029, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 66.04 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001594/0.3704, allocations: 499.8 kB / 0.5623 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3738, allocations: 2.167 MB / 0.5644 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-06/0.3738, allocations: 4 kB / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-06/0.3738, allocations: 0 / 0.5644 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.352e-06/0.3738, allocations: 0 / 0.5644 GB, free: 1.473 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.002159/0.376, allocations: 0.6307 MB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.376, allocations: 8 kB / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.814e-05/0.3761, allocations: 0 / 0.565 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3762, allocations: 27.84 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.3763, allocations: 8 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.3763, allocations: 0 / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.3773, allocations: 0.6594 MB / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.3773, allocations: 0 / 0.5657 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.3773, allocations: 4 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.378, allocations: 453.8 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.378, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.378, allocations: 0 / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.378, allocations: 4 kB / 0.5661 GB, free: 15.7 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.0004396/0.3784, allocations: 359.3 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3785, allocations: 8.031 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.3785, allocations: 80.22 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3787, allocations: 177.8 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.3787, allocations: 150.9 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.3788, allocations: 158.7 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.3789, allocations: 101 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3789, allocations: 75.28 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/0.379, allocations: 158.5 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.707e-05/0.3791, allocations: 150.6 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.3791, allocations: 166.5 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.3794, allocations: 393.6 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3795, allocations: 169.1 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.3796, allocations: 84.08 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.3796, allocations: 79.28 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.839e-05/0.3797, allocations: 139.5 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3797, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.574e-05/0.3798, allocations: 25.7 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.3799, allocations: 152.4 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446e-05/0.3799, allocations: 89.86 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3799, allocations: 33.7 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.38, allocations: 80.14 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.38, allocations: 0 / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.38, allocations: 17.7 kB / 0.5689 GB, free: 12.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3801, allocations: 310.8 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.3801, allocations: 0 / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.3802, allocations: 37.64 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.3802, allocations: 75.28 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/0.3803, allocations: 79.22 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.954e-05/0.3803, allocations: 33.77 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.3804, allocations: 83.22 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.652e-05/0.3804, allocations: 87.3 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.368e-05/0.3805, allocations: 154.5 kB / 0.5697 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.92e-05/0.3805, allocations: 75.28 kB / 0.5698 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.137e-05/0.3806, allocations: 154.5 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.3807, allocations: 79.28 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.3807, allocations: 83.33 kB / 0.5701 GB, free: 11.47 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.0001439/0.3808, allocations: 264.3 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.3809, allocations: 108.9 kB / 0.5704 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.381, allocations: 111.8 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.122e-05/0.3811, allocations: 180.2 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.09e-05/0.3811, allocations: 180.3 kB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-05/0.3812, allocations: 188.2 kB / 0.571 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3814, allocations: 352.9 kB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.3815, allocations: 101 kB / 0.5715 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.3815, allocations: 104.9 kB / 0.5716 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.746e-05/0.3816, allocations: 176.3 kB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.489e-05/0.3817, allocations: 196.1 kB / 0.5719 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.449e-05/0.3818, allocations: 180.2 kB / 0.5721 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.959e-05/0.3819, allocations: 176.3 kB / 0.5723 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.382, allocations: 307.8 kB / 0.5726 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3821, allocations: 108.9 kB / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3822, allocations: 196.1 kB / 0.5729 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.3823, allocations: 101 kB / 0.5729 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.201e-05/0.3824, allocations: 184.2 kB / 0.5731 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.3824, allocations: 101 kB / 0.5732 GB, free: 8.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.3825, allocations: 75.28 kB / 0.5733 GB, free: 7.961 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3825, allocations: 0 / 0.5733 GB, free: 7.961 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.383, allocations: 143.6 kB / 0.5734 GB, free: 7.82 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.0008533/0.3839, allocations: 418.5 kB / 0.5738 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.107e-05/0.3839, allocations: 7.938 kB / 0.5738 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3839, allocations: 0 / 0.5738 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.3839, allocations: 0 / 0.5738 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3843, allocations: 459.7 kB / 0.5743 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001617/0.3844, allocations: 148.3 kB / 0.5744 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.3845, allocations: 55.36 kB / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.661e-06/0.3845, allocations: 0 / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.3845, allocations: 11.42 kB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3845, allocations: 4 kB / 0.5745 GB, free: 6.688 MB / 414.1 MB Notification: Performance of Templates: time 0.007793/0.3923, allocations: 3.272 MB / 0.5777 GB, free: 3.422 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 -s cvode -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/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: 5.025920432002749]