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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 109.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 184.3 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1977/0.1977, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3291, allocations: 60.82 MB / 0.5196 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001826/0.331, allocations: 0.4885 MB / 0.52 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.334, allocations: 2.194 MB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-06/0.334, allocations: 0 / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.238e-06/0.334, allocations: 0 / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.303e-06/0.334, allocations: 1.188 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:8:5-85: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.0.0+maint.om/Math/Nonlinear.mo:87:5-157: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.0.0+maint.om/Math/Nonlinear.mo:159:5-233: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.0.0+maint.om/Math/Nonlinear.mo:235:5-313: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.002471/0.3365, allocations: 0.6008 MB / 0.5228 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.3366, allocations: 5.531 kB / 0.5228 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.3366, allocations: 9.891 kB / 0.5228 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3367, allocations: 14.39 kB / 0.5228 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.3367, allocations: 8.516 kB / 0.5228 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.578e-06/0.3368, allocations: 1.344 kB / 0.5228 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.338, allocations: 0.6365 MB / 0.5234 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.338, allocations: 1.75 kB / 0.5234 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.338, allocations: 5.891 kB / 0.5234 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008742/0.3389, allocations: 434 kB / 0.5238 GB, free: 1.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3389, allocations: 1.25 kB / 0.5238 GB, free: 1.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3389, allocations: 0.7031 kB / 0.5238 GB, free: 1.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.339, allocations: 0 / 0.5238 GB, free: 1.152 MB / 382.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.0004741/0.3394, allocations: 423.4 kB / 0.5242 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3395, allocations: 9.094 kB / 0.5243 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.3395, allocations: 81.91 kB / 0.5243 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.727e-05/0.3396, allocations: 236.8 kB / 0.5246 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3396, allocations: 163.5 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3396, allocations: 155.8 kB / 0.5249 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.3397, allocations: 105.5 kB / 0.525 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.3398, allocations: 81.2 kB / 0.525 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3398, allocations: 150.6 kB / 0.5252 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.3399, allocations: 151.2 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.3399, allocations: 160.3 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.3402, allocations: 443.2 kB / 0.5259 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.3403, allocations: 167.2 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.3404, allocations: 84.69 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3404, allocations: 79.28 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.3405, allocations: 134.1 kB / 0.5263 GB, free: 14.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3405, allocations: 0 / 0.5263 GB, free: 14.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.497e-05/0.3406, allocations: 32.28 kB / 0.5264 GB, free: 14.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3406, allocations: 81.95 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.139e-05/0.3406, allocations: 89.86 kB / 0.5265 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3407, allocations: 27.73 kB / 0.5266 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.3407, allocations: 84.14 kB / 0.5267 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3407, allocations: 0 / 0.5267 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3407, allocations: 14.8 kB / 0.5267 GB, free: 14.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3408, allocations: 313.5 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-06/0.3409, allocations: 0 / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.3409, allocations: 2.359 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.3409, allocations: 75.28 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/0.3409, allocations: 77.25 kB / 0.5271 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.219e-05/0.341, allocations: 40.27 kB / 0.5272 GB, free: 13.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.3411, allocations: 84.83 kB / 0.5272 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/0.3411, allocations: 76.08 kB / 0.5273 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.942e-05/0.3412, allocations: 160.7 kB / 0.5275 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.3412, allocations: 87.97 kB / 0.5275 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-05/0.3412, allocations: 151.2 kB / 0.5277 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.3413, allocations: 85.67 kB / 0.5278 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3414, allocations: 77 kB / 0.5278 GB, free: 12.9 MB / 398.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.000107/0.3415, allocations: 259.4 kB / 0.5281 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3415, allocations: 115.1 kB / 0.5282 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3416, allocations: 106.5 kB / 0.5283 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-05/0.3417, allocations: 178.8 kB / 0.5285 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/0.3417, allocations: 110 kB / 0.5286 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.3418, allocations: 183.8 kB / 0.5287 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.3419, allocations: 179.2 kB / 0.5289 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.3419, allocations: 107.3 kB / 0.529 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.342, allocations: 182.7 kB / 0.5292 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.792e-05/0.3421, allocations: 264 kB / 0.5294 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001503/0.3423, allocations: 381.8 kB / 0.5298 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.664e-05/0.3423, allocations: 107.3 kB / 0.5299 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.3424, allocations: 75.98 kB / 0.53 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3424, allocations: 0 / 0.53 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3435, allocations: 328.1 kB / 0.5303 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003862/0.3439, allocations: 0.9039 MB / 0.5312 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Templates: time 0.006694/0.3506, allocations: 2.984 MB / 0.5341 GB, free: 8.191 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches