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.001334/0.001334, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001446/0.001446, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.2268/0.2268, allocations: 46.93 MB / 361.6 MB, free: 4.352 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.001994/0.001994, allocations: 63.89 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3943, allocations: 66.04 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001817/0.3961, allocations: 497 kB / 0.5623 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.4001, allocations: 2.323 MB / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.132e-05/0.4001, allocations: 0 / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.917e-06/0.4001, allocations: 0 / 0.5646 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.132e-06/0.4001, allocations: 0 / 0.5646 GB, free: 1.574 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.002535/0.4026, allocations: 0.6304 MB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.4027, allocations: 11.98 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.4027, allocations: 0 / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.4029, allocations: 19.92 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.4029, allocations: 4 kB / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.4029, allocations: 0 / 0.5653 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.4042, allocations: 0.6788 MB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-06/0.4043, allocations: 0 / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.4043, allocations: 3.938 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.4052, allocations: 449.8 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4052, allocations: 0 / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4052, allocations: 0 / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4053, allocations: 0 / 0.5663 GB, free: 15.79 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.0005372/0.4058, allocations: 359.3 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4058, allocations: 12.03 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.4059, allocations: 76.22 kB / 0.5668 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.4061, allocations: 189.8 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.4062, allocations: 150.9 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.4062, allocations: 154.7 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.4063, allocations: 101 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/0.4064, allocations: 79.28 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.4065, allocations: 154.6 kB / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.4065, allocations: 150.6 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.793e-05/0.4066, allocations: 158.5 kB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.407, allocations: 417 kB / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4071, allocations: 173.1 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.4071, allocations: 84.08 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.4072, allocations: 75.28 kB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.228e-05/0.4073, allocations: 131.5 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4073, allocations: 0 / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.133e-05/0.4074, allocations: 37.64 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4075, allocations: 156.4 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.4075, allocations: 89.86 kB / 0.569 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.4075, allocations: 29.64 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.4076, allocations: 80.14 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.4076, allocations: 0 / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.4076, allocations: 17.7 kB / 0.5691 GB, free: 12.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4078, allocations: 310.8 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.4078, allocations: 8 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/0.4078, allocations: 4 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.4079, allocations: 75.28 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-05/0.4079, allocations: 75.28 kB / 0.5695 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.503e-05/0.408, allocations: 37.64 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.408, allocations: 79.28 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/0.4081, allocations: 83.3 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.095e-05/0.4082, allocations: 162.6 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.4082, allocations: 79.22 kB / 0.57 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-05/0.4083, allocations: 150.6 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.4084, allocations: 83.22 kB / 0.5702 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.4084, allocations: 83.31 kB / 0.5703 GB, free: 11.55 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.0001654/0.4086, allocations: 272.3 kB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.4087, allocations: 112.9 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.4087, allocations: 111.8 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.302e-05/0.4088, allocations: 176.3 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-05/0.4089, allocations: 184.2 kB / 0.5711 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.411e-05/0.409, allocations: 176.3 kB / 0.5713 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4093, allocations: 380.2 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/0.4093, allocations: 108.9 kB / 0.5717 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.4094, allocations: 101 kB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.703e-05/0.4095, allocations: 180.2 kB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.4096, allocations: 176.3 kB / 0.5722 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.942e-05/0.4097, allocations: 188.2 kB / 0.5723 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.669e-05/0.4098, allocations: 184.3 kB / 0.5725 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.41, allocations: 299.8 kB / 0.5728 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.41, allocations: 112.9 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.4101, allocations: 188.2 kB / 0.5731 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.4102, allocations: 105 kB / 0.5732 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.4103, allocations: 176.3 kB / 0.5734 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.4104, allocations: 108.9 kB / 0.5735 GB, free: 8.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.715e-05/0.4104, allocations: 79.22 kB / 0.5735 GB, free: 8.008 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4104, allocations: 0 / 0.5735 GB, free: 8.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005929/0.411, allocations: 143.6 kB / 0.5737 GB, free: 7.867 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.0008933/0.4119, allocations: 408.2 kB / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.662e-05/0.412, allocations: 0 / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.412, allocations: 0 / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.412, allocations: 0 / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4124, allocations: 477.8 kB / 0.5745 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.4126, allocations: 170.1 kB / 0.5747 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4129, allocations: 0.669 MB / 0.5753 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.413, allocations: 15.38 kB / 0.5753 GB, free: 6.082 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.413, allocations: 0 / 0.5753 GB, free: 6.082 MB / 414.1 MB Notification: Performance of Templates: time 0.006601/0.4196, allocations: 2.834 MB / 0.5781 GB, free: 3.246 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: 8.722949414048344]