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.0008661/0.0008667, allocations: 89.81 kB / 17.64 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009716/0.0009719, allocations: 196.6 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2474/0.2474, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002618/0.0002619, allocations: 11.98 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 63.45 MB / 482.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005513/0.1384, allocations: 213.3 kB / 482.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.1413, allocations: 2.166 MB / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-06/0.1413, allocations: 0 / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.178e-06/0.1414, allocations: 0 / 484.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.503e-06/0.1414, allocations: 0 / 484.5 MB, free: 3 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.001761/0.1431, allocations: 0.5182 MB / 485 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.388e-05/0.1432, allocations: 4 kB / 485 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.403e-05/0.1432, allocations: 0 / 485 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1433, allocations: 23.91 kB / 485 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.1434, allocations: 4 kB / 485 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.13e-06/0.1434, allocations: 4 kB / 485 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008318/0.1442, allocations: 0.5769 MB / 485.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-06/0.1442, allocations: 4 kB / 485.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.1443, allocations: 25.7 kB / 485.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.1446, allocations: 291.6 kB / 485.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1447, allocations: 4 kB / 485.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1447, allocations: 0 / 485.9 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1447, allocations: 0 / 485.9 MB, free: 1.551 MB / 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.0003438/0.145, allocations: 425 kB / 486.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1451, allocations: 12.03 kB / 486.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.1451, allocations: 83.27 kB / 486.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.1452, allocations: 242.3 kB / 486.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.1453, allocations: 150.6 kB / 486.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.1453, allocations: 150.6 kB / 487 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.351e-05/0.1454, allocations: 112.9 kB / 487.1 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1454, allocations: 75.28 kB / 487.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.1455, allocations: 154.6 kB / 487.3 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-05/0.1456, allocations: 150.6 kB / 487.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.1456, allocations: 150.6 kB / 487.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.1459, allocations: 445.9 kB / 488 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.146, allocations: 181.1 kB / 488.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.146, allocations: 80.14 kB / 488.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.146, allocations: 75.28 kB / 488.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.1461, allocations: 131.5 kB / 488.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1461, allocations: 0 / 488.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.508e-05/0.1462, allocations: 29.7 kB / 488.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.1462, allocations: 160.3 kB / 488.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.058e-05/0.1463, allocations: 93.8 kB / 488.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1463, allocations: 25.7 kB / 488.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.1463, allocations: 84.14 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-06/0.1463, allocations: 0 / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1463, allocations: 4 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.1464, allocations: 310.8 kB / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-06/0.1465, allocations: 0 / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.1465, allocations: 3.984 kB / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.1465, allocations: 79.31 kB / 489.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.1466, allocations: 83.23 kB / 489.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.887e-05/0.1466, allocations: 25.7 kB / 489.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.1466, allocations: 79.28 kB / 489.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.1467, allocations: 87.27 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.517e-05/0.1467, allocations: 150.7 kB / 489.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.614e-05/0.1468, allocations: 83.23 kB / 489.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/0.1468, allocations: 162.5 kB / 489.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.1469, allocations: 87.25 kB / 490 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1469, allocations: 79.22 kB / 490.1 MB, free: 13.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.147, allocations: 260.4 kB / 490.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.1471, allocations: 104.9 kB / 490.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.1472, allocations: 112 kB / 490.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.753e-05/0.1472, allocations: 188.2 kB / 490.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.682e-05/0.1473, allocations: 176.3 kB / 490.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.498e-05/0.1473, allocations: 184.1 kB / 491.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1476, allocations: 397.2 kB / 491.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.1476, allocations: 112.9 kB / 491.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1476, allocations: 108.9 kB / 491.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.078e-05/0.1477, allocations: 176.3 kB / 491.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.1478, allocations: 180.2 kB / 492 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.795e-05/0.1478, allocations: 180.3 kB / 492.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.772e-05/0.1479, allocations: 184.2 kB / 492.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.148, allocations: 311.8 kB / 492.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1481, allocations: 178.1 kB / 492.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.1482, allocations: 184.2 kB / 493.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1482, allocations: 108.9 kB / 493.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.1483, allocations: 184.3 kB / 493.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.1484, allocations: 116.9 kB / 493.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.345e-05/0.1484, allocations: 75.28 kB / 493.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1484, allocations: 0 / 493.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.1489, allocations: 132 kB / 493.7 MB, free: 9.344 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007377/0.1496, allocations: 417.4 kB / 494.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.036e-05/0.1497, allocations: 4 kB / 494.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1497, allocations: 0 / 494.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1497, allocations: 0 / 494.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.15, allocations: 0.5263 MB / 494.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.1502, allocations: 175.6 kB / 494.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1504, allocations: 0.6731 MB / 495.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-06/0.1504, allocations: 7.438 kB / 495.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1504, allocations: 0 / 495.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of Templates: time 0.005773/0.1562, allocations: 2.81 MB / 498.3 MB, free: 4.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1