Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 83.86 kB / 0.4966 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4347, allocations: 66.09 MB / 0.5612 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001837/0.4366, allocations: 491.2 kB / 0.5616 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004246/0.4408, allocations: 2.171 MB / 0.5637 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-06/0.4408, allocations: 4 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-06/0.4408, allocations: 0 / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.334e-06/0.4408, allocations: 0 / 0.5638 GB, free: 1.352 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.0024/0.4432, allocations: 0.6341 MB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.623e-05/0.4433, allocations: 4 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.4433, allocations: 3.938 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.4435, allocations: 19.97 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.4435, allocations: 11.94 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.4435, allocations: 0 / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.4448, allocations: 0.6429 MB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.4448, allocations: 0 / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.4449, allocations: 0 / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009912/0.4459, allocations: 453.8 kB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4459, allocations: 0 / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4459, allocations: 0 / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.4459, allocations: 4 kB / 0.5655 GB, free: 15.6 MB / 414.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.0006996/0.4466, allocations: 355.3 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4466, allocations: 12.03 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.586e-05/0.4467, allocations: 76.22 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4469, allocations: 181.8 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.4469, allocations: 154.9 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.447, allocations: 154.7 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4471, allocations: 101 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.4472, allocations: 75.28 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.4473, allocations: 158.5 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/0.4473, allocations: 150.6 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.703e-05/0.4474, allocations: 154.6 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.4477, allocations: 397.6 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.4479, allocations: 173.1 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.4479, allocations: 80.14 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.448, allocations: 83.22 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4481, allocations: 139.5 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4481, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.4482, allocations: 33.69 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.871e-05/0.4483, allocations: 152.4 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.4483, allocations: 89.86 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4484, allocations: 29.7 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.4484, allocations: 80.14 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.4484, allocations: 0 / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.4484, allocations: 21.7 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4486, allocations: 310.8 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.4486, allocations: 0 / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.4486, allocations: 29.64 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.4487, allocations: 83.22 kB / 0.5686 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.4487, allocations: 75.28 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.754e-05/0.4488, allocations: 29.77 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.4488, allocations: 91.22 kB / 0.5688 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/0.4489, allocations: 79.31 kB / 0.5689 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.114e-05/0.449, allocations: 154.5 kB / 0.569 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.449, allocations: 83.27 kB / 0.5691 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.841e-05/0.4491, allocations: 154.5 kB / 0.5692 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.4492, allocations: 75.28 kB / 0.5693 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.4492, allocations: 83.33 kB / 0.5694 GB, free: 11.37 MB / 414.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.0001676/0.4494, allocations: 264.3 kB / 0.5696 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.4495, allocations: 108.9 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.4496, allocations: 111.8 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/0.4497, allocations: 184.2 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001215/0.4498, allocations: 184.3 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.936e-05/0.4499, allocations: 176.3 kB / 0.5704 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.4502, allocations: 360.8 kB / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.835e-05/0.4502, allocations: 101 kB / 0.5708 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.4503, allocations: 108.9 kB / 0.5709 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.4504, allocations: 176.3 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.4505, allocations: 184.1 kB / 0.5713 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001151/0.4506, allocations: 180.3 kB / 0.5714 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001471/0.4508, allocations: 184.2 kB / 0.5716 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.451, allocations: 299.8 kB / 0.5719 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.451, allocations: 116.9 kB / 0.572 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4511, allocations: 188.2 kB / 0.5722 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4513, allocations: 105 kB / 0.5723 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.4514, allocations: 184.1 kB / 0.5725 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.4515, allocations: 101 kB / 0.5726 GB, free: 7.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.4515, allocations: 79.28 kB / 0.5726 GB, free: 7.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4515, allocations: 0 / 0.5726 GB, free: 7.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006541/0.4522, allocations: 139.6 kB / 0.5728 GB, free: 7.723 MB / 414.1 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.001151/0.4533, allocations: 407.9 kB / 0.5732 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.4534, allocations: 7.938 kB / 0.5732 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4534, allocations: 0 / 0.5732 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.4534, allocations: 0 / 0.5732 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4538, allocations: 465.5 kB / 0.5736 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.454, allocations: 148.3 kB / 0.5737 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.235e-05/0.4541, allocations: 55.36 kB / 0.5738 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.722e-06/0.4541, allocations: 0 / 0.5738 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.4541, allocations: 11.44 kB / 0.5738 GB, free: 6.594 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4541, allocations: 0 / 0.5738 GB, free: 6.594 MB / 414.1 MB Notification: Performance of Templates: time 0.01021/0.4643, allocations: 3.262 MB / 0.577 GB, free: 3.336 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.324452802538872]