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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008367/0.0008369, allocations: 96.88 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001058, allocations: 201.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 247.5 MB, free: 9.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.19 MB / 345.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004544, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1282, allocations: 63.56 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005108/0.1287, allocations: 217.3 kB / 483.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.1321, allocations: 2.344 MB / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-06/0.1321, allocations: 0 / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.606e-06/0.1322, allocations: 0 / 486.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.282e-06/0.1322, allocations: 0 / 486.3 MB, free: 1.539 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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.001938/0.1341, allocations: 0.518 MB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.355e-05/0.1342, allocations: 8 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.926e-05/0.1342, allocations: 7.984 kB / 486.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1343, allocations: 7.984 kB / 486.8 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.1344, allocations: 8 kB / 486.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.639e-06/0.1344, allocations: 7.875 kB / 486.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1355, allocations: 0.6164 MB / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-06/0.1355, allocations: 0 / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.1355, allocations: 29.69 kB / 487.5 MB, free: 340 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.1361, allocations: 291.6 kB / 487.8 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1361, allocations: 0 / 487.8 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1361, allocations: 0 / 487.8 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1361, allocations: 0 / 487.8 MB, free: 44 kB / 350.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.0004748/0.1366, allocations: 421.7 kB / 488.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1366, allocations: 12.88 kB / 488.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.1367, allocations: 80.22 kB / 488.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1368, allocations: 247.6 kB / 488.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.1369, allocations: 150.9 kB / 488.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.1369, allocations: 154.7 kB / 488.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.353e-05/0.137, allocations: 101 kB / 488.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.1371, allocations: 83.22 kB / 489 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/0.1371, allocations: 150.6 kB / 489.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/0.1372, allocations: 150.6 kB / 489.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.1372, allocations: 154.6 kB / 489.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.1375, allocations: 442 kB / 489.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.1376, allocations: 169.1 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.1377, allocations: 92.02 kB / 490.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1377, allocations: 79.27 kB / 490.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/0.1378, allocations: 135.5 kB / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1378, allocations: 0 / 490.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.1379, allocations: 29.64 kB / 490.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.138, allocations: 160.4 kB / 490.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.713e-05/0.138, allocations: 89.86 kB / 490.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.138, allocations: 29.7 kB / 490.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.1381, allocations: 80.14 kB / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.1381, allocations: 0 / 490.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.1381, allocations: 9.719 kB / 490.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1382, allocations: 310.8 kB / 491 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.1382, allocations: 3.938 kB / 491 MB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.1382, allocations: 8 kB / 491 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.1383, allocations: 75.28 kB / 491.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/0.1383, allocations: 75.28 kB / 491.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.635e-05/0.1384, allocations: 37.62 kB / 491.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.1384, allocations: 83.22 kB / 491.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.1384, allocations: 79.27 kB / 491.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.266e-05/0.1385, allocations: 158.7 kB / 491.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.58e-05/0.1385, allocations: 87.33 kB / 491.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-05/0.1386, allocations: 154.5 kB / 491.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1387, allocations: 75.28 kB / 491.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1387, allocations: 87.2 kB / 491.9 MB, free: 11.62 MB / 366.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.0001094/0.1389, allocations: 256.4 kB / 492.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.1389, allocations: 116.9 kB / 492.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.139, allocations: 104.1 kB / 492.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/0.139, allocations: 180.2 kB / 492.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.1391, allocations: 180.2 kB / 492.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-05/0.1392, allocations: 184.2 kB / 492.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.1394, allocations: 397.2 kB / 493.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.973e-05/0.1395, allocations: 108.9 kB / 493.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.1395, allocations: 108.9 kB / 493.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.509e-05/0.1396, allocations: 180.3 kB / 493.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.1396, allocations: 180.2 kB / 493.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/0.1397, allocations: 176.3 kB / 494 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.947e-05/0.1398, allocations: 184.3 kB / 494.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.1399, allocations: 307.8 kB / 494.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.14, allocations: 190 kB / 494.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.1401, allocations: 176.3 kB / 494.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.1402, allocations: 109 kB / 495 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.1403, allocations: 188.2 kB / 495.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.1403, allocations: 101 kB / 495.3 MB, free: 8.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.453e-05/0.1404, allocations: 75.28 kB / 495.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1404, allocations: 0 / 495.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.1409, allocations: 132 kB / 495.5 MB, free: 7.84 MB / 366.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.0008801/0.1418, allocations: 440.6 kB / 495.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.965e-05/0.1418, allocations: 3.938 kB / 495.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1419, allocations: 0 / 495.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1419, allocations: 0 / 495.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1422, allocations: 0.5263 MB / 496.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001405/0.1424, allocations: 171.8 kB / 496.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1426, allocations: 0.6731 MB / 497.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.1427, allocations: 7.438 kB / 497.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1427, allocations: 4 kB / 497.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of Templates: time 0.00595/0.1486, allocations: 2.805 MB / 0.4884 GB, free: 3.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches