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.0009183/0.0009183, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001042/0.001042, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2588/0.2588, allocations: 32.8 MB / 294.6 MB, free: 1.207 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.964e-06/1.964e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.35e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001338/0.001362, allocations: 0.5085 MB / 376.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.004567, allocations: 2.226 MB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-06/0.004572, allocations: 4 kB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.448e-06/0.004582, allocations: 0 / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.513e-06/0.004583, allocations: 0 / 378.7 MB, free: 2.207 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.002025/0.006608, allocations: 0.6152 MB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.006658, allocations: 8 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.853e-05/0.006687, allocations: 0 / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.006839, allocations: 23.84 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/0.006881, allocations: 8 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.006888, allocations: 0 / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.007902, allocations: 0.6435 MB / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.00791, allocations: 0 / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.00793, allocations: 0 / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008979/0.008828, allocations: 0.5573 MB / 380.6 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.00883, allocations: 0 / 380.6 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008831, allocations: 3.938 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.008835, allocations: 4 kB / 380.6 MB, free: 348 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.0004182/0.009254, allocations: 453.3 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.009303, allocations: 12.03 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.009376, allocations: 120.1 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.00948, allocations: 223.8 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.009562, allocations: 250.7 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.009631, allocations: 238.8 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.731e-05/0.009718, allocations: 145.5 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.00976, allocations: 123.1 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.009853, allocations: 242.4 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/0.009936, allocations: 242.3 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.01001, allocations: 242.4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.01031, allocations: 0.5642 MB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.01041, allocations: 265.4 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.01045, allocations: 126.9 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.01049, allocations: 127.1 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.649e-05/0.01057, allocations: 178.3 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.01057, allocations: 0 / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.753e-05/0.01065, allocations: 37.56 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.01073, allocations: 200.3 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.969e-05/0.01078, allocations: 142.2 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01079, allocations: 33.7 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.01083, allocations: 126.9 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.01083, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.01086, allocations: 19.38 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.01102, allocations: 496.1 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.01103, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.01106, allocations: 29.64 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.0111, allocations: 123.2 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.01113, allocations: 123.2 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.174e-05/0.01118, allocations: 25.7 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.01123, allocations: 127.2 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/0.01127, allocations: 127.2 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-05/0.01136, allocations: 246.2 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.0114, allocations: 127.2 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.176e-05/0.01147, allocations: 242.3 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.01154, allocations: 119.2 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.01158, allocations: 127.2 kB / 386.5 MB, free: 10.19 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.0001464/0.01172, allocations: 394.9 kB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.01178, allocations: 148.9 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.01183, allocations: 151.9 kB / 387.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/0.01191, allocations: 280 kB / 387.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002906/0.0122, allocations: 272.1 kB / 387.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.106e-05/0.01227, allocations: 268 kB / 388 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.01247, allocations: 491.9 kB / 388.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-05/0.01251, allocations: 149.2 kB / 388.6 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.01256, allocations: 156.8 kB / 388.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.361e-05/0.01263, allocations: 268.1 kB / 389 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.733e-05/0.01271, allocations: 268 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.172e-05/0.01278, allocations: 268.1 kB / 389.5 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.127e-05/0.01285, allocations: 268 kB / 389.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01301, allocations: 448 kB / 390.2 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.01307, allocations: 160.8 kB / 390.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.01316, allocations: 268.1 kB / 390.6 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.01324, allocations: 152.8 kB / 390.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.01333, allocations: 275.9 kB / 391.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.01337, allocations: 148.9 kB / 391.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.911e-05/0.01342, allocations: 119.2 kB / 391.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01342, allocations: 4 kB / 391.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005203/0.01394, allocations: 135.6 kB / 391.5 MB, free: 5.012 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.0008056/0.01475, allocations: 495.5 kB / 391.9 MB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.575e-05/0.0148, allocations: 7.938 kB / 392 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01481, allocations: 0 / 392 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.01481, allocations: 0 / 392 MB, free: 4.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.01519, allocations: 0.7062 MB / 392.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.01536, allocations: 210 kB / 392.9 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.0154, allocations: 51.36 kB / 392.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.763e-06/0.0154, allocations: 0 / 392.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.01542, allocations: 12.5 kB / 392.9 MB, free: 3.492 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01542, allocations: 0 / 392.9 MB, free: 3.492 MB / 362.7 MB Notification: Performance of Templates: time 0.00575/0.02117, allocations: 3.361 MB / 396.3 MB, free: 148 kB / 362.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.352989887120202]