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.001523/0.001523, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001729/0.001729, allocations: 165.7 kB / 24.27 MB, free: 172 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 1.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3513/0.3513, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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 5.27e-06/5.27e-06, allocations: 4 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.517e-05, allocations: 2.312 kB / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001614/0.001649, allocations: 493.1 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003988/0.005636, allocations: 2.202 MB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-06/0.005642, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.188e-06/0.005646, allocations: 0 / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.162e-06/0.005647, allocations: 0 / 379.9 MB, free: 300 kB / 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.002322/0.007969, allocations: 0.6114 MB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.063e-05/0.00801, allocations: 8 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.42e-05/0.008034, allocations: 4 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.008182, allocations: 19.91 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.008222, allocations: 4 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.791e-06/0.008228, allocations: 4 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.009362, allocations: 0.6435 MB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.009368, allocations: 0 / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.009389, allocations: 4 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008494/0.01024, allocations: 0.5534 MB / 381.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.01024, allocations: 4 kB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01024, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.299e-06/0.01025, allocations: 0 / 381.8 MB, free: 14.43 MB / 362.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.0004624/0.01071, allocations: 355.3 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.01077, allocations: 12.03 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.963e-05/0.01085, allocations: 76.22 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.01099, allocations: 181.1 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.72e-05/0.01107, allocations: 154.9 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.01116, allocations: 150.9 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.01125, allocations: 105.5 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.01129, allocations: 87.16 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/0.01139, allocations: 154.6 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.221e-05/0.01147, allocations: 150.6 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.01156, allocations: 150.6 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.01189, allocations: 397.6 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.01201, allocations: 173.1 kB / 383.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.01207, allocations: 84.14 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.01211, allocations: 75.28 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.713e-05/0.01221, allocations: 131.5 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.01221, allocations: 0 / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.671e-05/0.0123, allocations: 33.64 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.01241, allocations: 160.3 kB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.01246, allocations: 89.86 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.01248, allocations: 25.7 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.01253, allocations: 84.14 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.01254, allocations: 4 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.01257, allocations: 17.7 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.01275, allocations: 310.8 kB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.01275, allocations: 0 / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.0128, allocations: 25.7 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.01285, allocations: 79.28 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/0.01289, allocations: 79.31 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.925e-05/0.01295, allocations: 29.75 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.01301, allocations: 83.28 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.013e-05/0.01306, allocations: 83.2 kB / 385.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-05/0.01315, allocations: 154.5 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.187e-05/0.0132, allocations: 87.22 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.918e-05/0.01328, allocations: 150.6 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.01337, allocations: 75.28 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.01341, allocations: 83.22 kB / 385.8 MB, free: 10.21 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.0001742/0.01358, allocations: 260.4 kB / 386.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.01367, allocations: 113 kB / 386.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/0.01373, allocations: 111.9 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.693e-05/0.01383, allocations: 184.2 kB / 386.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.404e-05/0.01392, allocations: 176.3 kB / 386.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.483e-05/0.01402, allocations: 180.2 kB / 386.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.01428, allocations: 356.8 kB / 387.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.958e-05/0.01434, allocations: 104.9 kB / 387.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.0144, allocations: 113 kB / 387.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.555e-05/0.01449, allocations: 176.3 kB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.01459, allocations: 184.2 kB / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/0.0147, allocations: 184.2 kB / 387.9 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-05/0.01479, allocations: 188.1 kB / 388.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01498, allocations: 304.1 kB / 388.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.01505, allocations: 109 kB / 388.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.01516, allocations: 176.3 kB / 388.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01526, allocations: 113 kB / 388.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.01537, allocations: 180.2 kB / 388.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.01543, allocations: 112.9 kB / 389.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.485e-05/0.0155, allocations: 75.28 kB / 389.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0155, allocations: 0 / 389.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.01608, allocations: 139.6 kB / 389.3 MB, free: 6.566 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.001003/0.01709, allocations: 450 kB / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.419e-05/0.01713, allocations: 0 / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01713, allocations: 0 / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.01713, allocations: 3.938 kB / 389.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.01757, allocations: 455.7 kB / 390.2 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.01776, allocations: 164 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.816e-05/0.01782, allocations: 59.34 kB / 390.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.65e-06/0.01782, allocations: 0 / 390.4 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.01784, allocations: 12.5 kB / 390.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.01784, allocations: 0 / 390.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of Templates: time 0.00781/0.02566, allocations: 3.335 MB / 393.7 MB, free: 2.07 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins/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.009657697053626]