Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.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.00125/0.00125, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001421/0.001421, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.418/1.418, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2364/0.2364, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) 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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 75.88 kB / 0.4967 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001499/0.3235, allocations: 491.6 kB / 0.5617 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.3268, allocations: 2.327 MB / 0.5639 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-06/0.3268, allocations: 3.938 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.048e-06/0.3269, allocations: 0 / 0.5639 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.263e-06/0.3269, allocations: 4 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.00211/0.329, allocations: 0.626 MB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.108e-05/0.329, allocations: 11.98 kB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.61e-05/0.329, allocations: 0 / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3291, allocations: 11.98 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.3292, allocations: 8 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-06/0.3292, allocations: 0 / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.3303, allocations: 0.6788 MB / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-06/0.3303, allocations: 0 / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.3303, allocations: 4 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.3309, allocations: 447 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3309, allocations: 0 / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3309, allocations: 0 / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3309, allocations: 0 / 0.5657 GB, free: 444 kB / 398.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.0005185/0.3314, allocations: 440.4 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3315, allocations: 8.031 kB / 0.5661 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.3315, allocations: 76.22 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3317, allocations: 239.7 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.3317, allocations: 150.9 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.3318, allocations: 154.7 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.946e-05/0.3319, allocations: 112.9 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.3319, allocations: 75.28 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/0.332, allocations: 150.6 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.564e-05/0.3321, allocations: 150.6 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.443e-05/0.3321, allocations: 154.6 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.3324, allocations: 445.9 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.588e-05/0.3325, allocations: 173.1 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.3326, allocations: 84.08 kB / 0.568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.3326, allocations: 75.28 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.8e-05/0.3327, allocations: 135.5 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3327, allocations: 4 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.928e-05/0.3328, allocations: 25.7 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3328, allocations: 81.05 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.3329, allocations: 89.86 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3329, allocations: 37.58 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3329, allocations: 84.14 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.3329, allocations: 0 / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.333, allocations: 17.7 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3331, allocations: 314.8 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-06/0.3331, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.3332, allocations: 4 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.3332, allocations: 75.28 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-05/0.3332, allocations: 75.28 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.714e-05/0.3333, allocations: 33.7 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.3333, allocations: 79.28 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/0.3334, allocations: 87.22 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.597e-05/0.3335, allocations: 154.6 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/0.3335, allocations: 79.28 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.65e-05/0.3336, allocations: 158.5 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.772e-05/0.3337, allocations: 75.28 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.3337, allocations: 83.2 kB / 0.5697 GB, free: 12.08 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.0001499/0.3338, allocations: 264.4 kB / 0.5699 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.879e-05/0.3339, allocations: 113 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.334, allocations: 119.8 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.354e-05/0.3341, allocations: 176.3 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.353e-05/0.3341, allocations: 105 kB / 0.5704 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.3342, allocations: 182 kB / 0.5706 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/0.3343, allocations: 184.2 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-05/0.3344, allocations: 105 kB / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.3345, allocations: 184.2 kB / 0.571 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001214/0.3346, allocations: 259.5 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002154/0.3349, allocations: 383 kB / 0.5716 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.312e-05/0.3349, allocations: 108.9 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.858e-05/0.335, allocations: 75.28 kB / 0.5718 GB, free: 9.746 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.335, allocations: 0 / 0.5718 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.3361, allocations: 333.3 kB / 0.5721 GB, free: 9.43 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004612/0.3365, allocations: 0.9046 MB / 0.573 GB, free: 8.473 MB / 414.1 MB Notification: Performance of Templates: time 0.007508/0.344, allocations: 3.186 MB / 0.5761 GB, free: 5.285 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.92250166926533]