Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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) 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(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 94.84 kB / 16.95 MB, free: 5.953 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.001508/0.001508, allocations: 179.2 kB / 17.84 MB, free: 5.617 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.572/1.572, allocations: 223.2 MB / 241.9 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8.688 kB / 301.4 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002142/0.1406, allocations: 1.183 MB / 353 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.1415, allocations: 420.1 kB / 353.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.1416, allocations: 0 / 353.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.1417, allocations: 7.938 kB / 353.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1419, allocations: 19.84 kB / 353.5 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1421, allocations: 15.98 kB / 353.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.1422, allocations: 55.72 kB / 353.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1424, allocations: 4 kB / 353.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1426, allocations: 31.84 kB / 353.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.1427, allocations: 31.91 kB / 353.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.1427, allocations: 4 kB / 353.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.1427, allocations: 0 / 353.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.1427, allocations: 15.92 kB / 353.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1428, allocations: 33.7 kB / 353.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.1429, allocations: 39.86 kB / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1429, allocations: 0 / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1429, allocations: 0 / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1429, allocations: 0 / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007348/0.1437, allocations: 395.3 kB / 354.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1437, allocations: 15.97 kB / 354.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.1438, allocations: 7.859 kB / 354.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.144, allocations: 178.9 kB / 354.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.144, allocations: 0 / 354.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.144, allocations: 4 kB / 354.3 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1443, allocations: 92.22 kB / 354.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1444, allocations: 0 / 354.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1444, allocations: 0 / 354.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1444, allocations: 7.953 kB / 354.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1447, allocations: 79.88 kB / 354.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.1449, allocations: 187.5 kB / 354.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.1452, allocations: 119.7 kB / 354.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1454, allocations: 54.61 kB / 354.8 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1454, allocations: 4 kB / 354.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.1455, allocations: 38.5 kB / 354.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1455, allocations: 0 / 354.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005604/0.146, allocations: 165.5 kB / 355 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.1461, allocations: 107.1 kB / 355.1 MB, free: 476 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1463, allocations: 130.1 kB / 355.3 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.1463, allocations: 29.7 kB / 355.3 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1464, allocations: 92.12 kB / 355.4 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1464, allocations: 11.84 kB / 355.4 MB, free: 188 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.1464, allocations: 0 / 355.4 MB, free: 188 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1466, allocations: 322.8 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1468, allocations: 43.91 kB / 355.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1469, allocations: 54.55 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1471, allocations: 39.97 kB / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1471, allocations: 0 / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003531/0.1474, allocations: 129.5 kB / 356 MB, free: 15.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1475, allocations: 8 kB / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1475, allocations: 0 / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1475, allocations: 3.938 kB / 356 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1477, allocations: 28.06 kB / 356 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1477, allocations: 0 / 356 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-05/0.1478, allocations: 19.94 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1478, allocations: 4.094 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001295/0.148, allocations: 117.8 kB / 356.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.148, allocations: 15.89 kB / 356.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.148, allocations: 11.88 kB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1481, allocations: 0 / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1481, allocations: 8 kB / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1481, allocations: 0 / 356.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1483, allocations: 173.6 kB / 356.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1483, allocations: 4 kB / 356.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1484, allocations: 23.97 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1484, allocations: 4 kB / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1484, allocations: 0 / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1484, allocations: 0 / 356.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1485, allocations: 4 kB / 356.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1488, allocations: 170.6 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1489, allocations: 81.02 kB / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1489, allocations: 4 kB / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.149, allocations: 15.98 kB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.1491, allocations: 11.92 kB / 356.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1491, allocations: 0 / 356.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.1492, allocations: 102.4 kB / 356.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1492, allocations: 0 / 356.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.1494, allocations: 12 kB / 356.8 MB, free: 14.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001295/0.1496, allocations: 99.2 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000332/0.1499, allocations: 95.86 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.1499, allocations: 4.188 kB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1501, allocations: 43.91 kB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.1503, allocations: 8 kB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.1509, allocations: 238.3 kB / 357.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1514, allocations: 0.6848 MB / 357.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.1514, allocations: 15.42 kB / 358 MB, free: 13.42 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1514, allocations: 4 kB / 358 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Templates: time 0.003245/0.1547, allocations: 0.859 MB / 358.8 MB, free: 12.56 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSineCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSineCalcHelperMain.o] Error 1