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.001115/0.001115, allocations: 109.5 kB / 18.45 MB, free: 4.59 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.001138/0.001138, allocations: 184.3 kB / 19.38 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.375/1.375, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2126/0.2126, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3987, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001504/0.4003, allocations: 0.493 MB / 0.52 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.4031, allocations: 2.189 MB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-06/0.4032, allocations: 0 / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.077e-06/0.4032, allocations: 0 / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.124e-06/0.4032, allocations: 3.938 kB / 0.5222 GB, free: 1.777 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.002051/0.4053, allocations: 0.6094 MB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.4053, allocations: 5.406 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.4054, allocations: 1.797 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.4054, allocations: 15.12 kB / 0.5228 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.4055, allocations: 8.688 kB / 0.5228 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.4055, allocations: 0 / 0.5228 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.4066, allocations: 0.6379 MB / 0.5234 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-06/0.4066, allocations: 3.938 kB / 0.5234 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.4066, allocations: 3.062 kB / 0.5234 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.4073, allocations: 431.3 kB / 0.5238 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4073, allocations: 0 / 0.5238 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4073, allocations: 0.9062 kB / 0.5238 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.4073, allocations: 0 / 0.5238 GB, free: 1.184 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.000332/0.4077, allocations: 423.8 kB / 0.5242 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4077, allocations: 9.031 kB / 0.5243 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.4078, allocations: 80.22 kB / 0.5243 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.4079, allocations: 238.5 kB / 0.5246 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4079, allocations: 154.9 kB / 0.5247 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.4079, allocations: 158.6 kB / 0.5249 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.408, allocations: 102.8 kB / 0.525 GB, free: 16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.4081, allocations: 79.22 kB / 0.525 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.4081, allocations: 156.7 kB / 0.5252 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.4082, allocations: 150.6 kB / 0.5253 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-05/0.4083, allocations: 152.7 kB / 0.5255 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.4086, allocations: 443.3 kB / 0.5259 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.4087, allocations: 174.8 kB / 0.5261 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.4087, allocations: 85.8 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.4088, allocations: 75.28 kB / 0.5262 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.872e-05/0.4089, allocations: 132.3 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4089, allocations: 1.781 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.262e-05/0.409, allocations: 34.14 kB / 0.5264 GB, free: 14.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.409, allocations: 87.48 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.4091, allocations: 89.86 kB / 0.5265 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4091, allocations: 31.64 kB / 0.5266 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.4092, allocations: 84.12 kB / 0.5267 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.4092, allocations: 0 / 0.5267 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.4092, allocations: 15.91 kB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4093, allocations: 311.6 kB / 0.527 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.4093, allocations: 0 / 0.527 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.685e-05/0.4094, allocations: 6.422 kB / 0.527 GB, free: 13.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.4094, allocations: 75.28 kB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.4094, allocations: 82 kB / 0.5271 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.609e-05/0.4095, allocations: 32.31 kB / 0.5272 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4096, allocations: 83.84 kB / 0.5272 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.4096, allocations: 79.78 kB / 0.5273 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.246e-05/0.4097, allocations: 161.3 kB / 0.5275 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.287e-05/0.4097, allocations: 87.27 kB / 0.5275 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-05/0.4098, allocations: 153.4 kB / 0.5277 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.4098, allocations: 77.88 kB / 0.5278 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4099, allocations: 79.22 kB / 0.5278 GB, free: 12.93 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.0001204/0.41, allocations: 259.7 kB / 0.5281 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.4101, allocations: 115.4 kB / 0.5282 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.4101, allocations: 110.7 kB / 0.5283 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.393e-05/0.4102, allocations: 177.1 kB / 0.5285 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/0.4102, allocations: 103.8 kB / 0.5286 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.4103, allocations: 183.1 kB / 0.5287 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.4104, allocations: 182.9 kB / 0.5289 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.4105, allocations: 111.7 kB / 0.529 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.4106, allocations: 182.8 kB / 0.5292 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.174e-05/0.4107, allocations: 259.9 kB / 0.5295 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001642/0.4108, allocations: 378.4 kB / 0.5298 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.597e-05/0.4109, allocations: 115.3 kB / 0.5299 GB, free: 10.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.735e-05/0.4109, allocations: 75.28 kB / 0.53 GB, free: 10.63 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.4109, allocations: 0 / 0.53 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4121, allocations: 318.9 kB / 0.5303 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003875/0.4125, allocations: 0.8959 MB / 0.5312 GB, free: 9.574 MB / 398.1 MB Notification: Performance of Templates: time 0.007173/0.4197, allocations: 2.992 MB / 0.5341 GB, free: 8.246 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