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.001366/0.001366, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001447/0.001447, allocations: 205.2 kB / 24.49 MB, free: 3.965 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.456/1.456, allocations: 230.6 MB / 258.3 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.2502/0.2502, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.002101/0.002101, allocations: 71.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3283, allocations: 66.03 MB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001477/0.3298, allocations: 493.1 kB / 0.5623 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3331, allocations: 2.167 MB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-06/0.3331, allocations: 0 / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.306e-06/0.3331, allocations: 0 / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.32e-06/0.3331, allocations: 0 / 0.5644 GB, free: 1.359 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.002178/0.3353, allocations: 0.6417 MB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.817e-05/0.3353, allocations: 12 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.829e-05/0.3353, allocations: 3.984 kB / 0.565 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3354, allocations: 11.94 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.3355, allocations: 7.984 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.999e-06/0.3355, allocations: 0 / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.3365, allocations: 0.6648 MB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.3365, allocations: 7.984 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.3365, allocations: 4 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.3372, allocations: 449.8 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3372, allocations: 3.938 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3372, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.3372, allocations: 0 / 0.5661 GB, free: 15.57 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.0004115/0.3376, allocations: 355.3 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3376, allocations: 8.031 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.3377, allocations: 80.22 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3378, allocations: 177.8 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.3379, allocations: 154.9 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.338, allocations: 162.6 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.3381, allocations: 105 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.3381, allocations: 75.28 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.3382, allocations: 150.6 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.96e-05/0.3383, allocations: 150.6 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3383, allocations: 158.5 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.3386, allocations: 393.6 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3387, allocations: 173.1 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3388, allocations: 80.14 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.3388, allocations: 75.28 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.43e-05/0.3389, allocations: 139.5 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.3389, allocations: 4 kB / 0.5685 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.339, allocations: 25.7 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.339, allocations: 81.05 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.3391, allocations: 93.86 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3391, allocations: 25.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.3392, allocations: 84.14 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.3392, allocations: 3.984 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.3392, allocations: 17.7 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3393, allocations: 310.8 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.3393, allocations: 0 / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.3394, allocations: 33.7 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.3394, allocations: 75.28 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.248e-05/0.3395, allocations: 75.28 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.329e-05/0.3395, allocations: 33.77 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3396, allocations: 87.2 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.3396, allocations: 83.16 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.673e-05/0.3397, allocations: 154.6 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.3397, allocations: 83.22 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.276e-05/0.3398, allocations: 150.6 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.3399, allocations: 79.28 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.3399, allocations: 87.3 kB / 0.57 GB, free: 11.42 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.0001432/0.3401, allocations: 260.4 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.3402, allocations: 108.9 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.3402, allocations: 123.6 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.231e-05/0.3403, allocations: 176.3 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-05/0.3404, allocations: 101 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.3404, allocations: 108.9 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.3405, allocations: 180.2 kB / 0.571 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.3406, allocations: 112.9 kB / 0.5711 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.3407, allocations: 180.3 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001257/0.3408, allocations: 259.5 kB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002102/0.341, allocations: 387 kB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.23e-05/0.3411, allocations: 104.9 kB / 0.572 GB, free: 9.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.399e-05/0.3411, allocations: 75.28 kB / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of Backend: time 1.61e-07/0.3411, allocations: 0 / 0.5721 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.3421, allocations: 316.4 kB / 0.5724 GB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 0.0005131/0.3427, allocations: 0.9046 MB / 0.5733 GB, free: 7.914 MB / 414.1 MB Notification: Performance of Templates: time 0.007654/0.3503, allocations: 3.185 MB / 0.5764 GB, free: 4.734 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/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.177879971997754]