Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001052/0.001052, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001403/0.001403, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9524/0.9524, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.271/0.271, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.139e-05, allocations: 2.312 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.00166/0.001692, allocations: 0.5157 MB / 376.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.005015, allocations: 2.237 MB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-06/0.00502, allocations: 0 / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.005034, allocations: 4 kB / 378.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.483e-06/0.005035, allocations: 0 / 378.7 MB, free: 1.91 MB / 346.7 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.00222/0.007255, allocations: 0.6113 MB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.243e-05/0.007308, allocations: 11.98 kB / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.39e-05/0.007342, allocations: 0 / 379.4 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.00753, allocations: 19.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.007575, allocations: 11.98 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.007583, allocations: 3.938 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.008759, allocations: 0.6358 MB / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-06/0.008767, allocations: 0 / 380 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.008788, allocations: 7.938 kB / 380 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009061/0.009694, allocations: 0.5457 MB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.009698, allocations: 4 kB / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009699, allocations: 0 / 380.6 MB, free: 56 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.009706, allocations: 0 / 380.6 MB, free: 56 kB / 346.7 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.000479/0.01018, allocations: 461.2 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.01023, allocations: 12.02 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.01032, allocations: 124.1 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.01042, allocations: 231.8 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.0105, allocations: 238.8 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.01058, allocations: 238.8 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.01066, allocations: 145.5 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/0.01071, allocations: 127.1 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.01079, allocations: 242.4 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/0.01087, allocations: 238.4 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.01094, allocations: 242.3 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.01121, allocations: 0.5681 MB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.01133, allocations: 269.4 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.01137, allocations: 126.9 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.01141, allocations: 119.2 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.827e-05/0.0115, allocations: 178.3 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.0115, allocations: 0 / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.195e-05/0.01158, allocations: 37.58 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.01166, allocations: 204.3 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.01171, allocations: 142.2 kB / 384.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.01172, allocations: 25.7 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.01177, allocations: 130.9 kB / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.01177, allocations: 0 / 384.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.0118, allocations: 19.38 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.01194, allocations: 496.1 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.01195, allocations: 3.938 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.75e-05/0.01199, allocations: 29.7 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.01202, allocations: 119.2 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.484e-05/0.01206, allocations: 119.2 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.035e-05/0.01212, allocations: 37.67 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.01218, allocations: 123.2 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/0.01222, allocations: 123.2 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-05/0.01231, allocations: 254.2 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.01235, allocations: 123.2 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.545e-05/0.01241, allocations: 238.4 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.0125, allocations: 127.1 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.01253, allocations: 119.2 kB / 386.5 MB, free: 9.898 MB / 362.7 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.0001437/0.01268, allocations: 395 kB / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.01275, allocations: 152.8 kB / 387 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.01281, allocations: 159.9 kB / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.909e-05/0.01289, allocations: 268 kB / 387.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-05/0.01297, allocations: 268 kB / 387.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.344e-05/0.01305, allocations: 268.1 kB / 388 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.01328, allocations: 499.8 kB / 388.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.942e-05/0.01333, allocations: 153.2 kB / 388.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.01338, allocations: 152.8 kB / 388.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.01346, allocations: 268.1 kB / 389 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.01355, allocations: 268.1 kB / 389.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.612e-05/0.01364, allocations: 268 kB / 389.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-05/0.01372, allocations: 276 kB / 389.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.01389, allocations: 448 kB / 390.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.01394, allocations: 144.9 kB / 390.4 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.01404, allocations: 280 kB / 390.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.01414, allocations: 144.9 kB / 390.8 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.01424, allocations: 276 kB / 391.1 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.01429, allocations: 148.9 kB / 391.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.01435, allocations: 119.2 kB / 391.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01435, allocations: 0 / 391.4 MB, free: 4.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007422/0.01509, allocations: 139.6 kB / 391.5 MB, free: 4.719 MB / 362.7 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.001142/0.01623, allocations: 0.4899 MB / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.788e-05/0.01632, allocations: 0 / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01632, allocations: 0 / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.01633, allocations: 3.938 kB / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.01682, allocations: 0.7101 MB / 392.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.01704, allocations: 202 kB / 392.9 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.01709, allocations: 55.36 kB / 392.9 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.588e-06/0.0171, allocations: 0 / 392.9 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.01712, allocations: 12.5 kB / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01713, allocations: 0 / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of Templates: time 0.006395/0.02352, allocations: 3.36 MB / 396.3 MB, free: 15.85 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.298822012729943]