Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009305/0.0009304, allocations: 88.03 kB / 17.63 MB, free: 6.125 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.0009355/0.000936, allocations: 184.1 kB / 18.52 MB, free: 5.289 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.486/1.486, allocations: 223.3 MB / 242.5 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 8 kB / 410.2 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002889/0.1301, allocations: 2.19 MB / 474.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1313, allocations: 0.6275 MB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1315, allocations: 4 kB / 475 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1316, allocations: 35.64 kB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1318, allocations: 75.39 kB / 475.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.132, allocations: 63.92 kB / 475.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1324, allocations: 310.6 kB / 475.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1326, allocations: 65.44 kB / 475.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1327, allocations: 107.6 kB / 475.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1329, allocations: 115.4 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1329, allocations: 12 kB / 475.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.581e-05/0.133, allocations: 12 kB / 475.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.133, allocations: 43.81 kB / 475.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.1331, allocations: 81.52 kB / 475.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1333, allocations: 207.7 kB / 476.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1334, allocations: 0 / 476.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1334, allocations: 0 / 476.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1334, allocations: 0 / 476.1 MB, free: 9.801 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008935/0.1343, allocations: 0.5556 MB / 476.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1343, allocations: 12.56 kB / 476.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.1344, allocations: 31.62 kB / 476.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1348, allocations: 255.5 kB / 476.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1348, allocations: 20.56 kB / 477 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.1349, allocations: 24 kB / 477 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.1354, allocations: 289.9 kB / 477.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.1355, allocations: 11.91 kB / 477.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1355, allocations: 4 kB / 477.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1355, allocations: 12 kB / 477.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.1359, allocations: 199.7 kB / 477.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1378, allocations: 1.329 MB / 478.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.1382, allocations: 246.4 kB / 479.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1385, allocations: 103.5 kB / 479.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.1385, allocations: 12 kB / 479.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1385, allocations: 42.5 kB / 479.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.1385, allocations: 0 / 479.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002637/0.1412, allocations: 1.627 MB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.1413, allocations: 136.5 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1415, allocations: 221 kB / 481.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.1416, allocations: 33.7 kB / 481.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1417, allocations: 172.2 kB / 481.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.1418, allocations: 118.3 kB / 481.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1418, allocations: 12 kB / 481.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.142, allocations: 338.8 kB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.1422, allocations: 108.8 kB / 482 MB, free: 3.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.1426, allocations: 245.5 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1429, allocations: 148.8 kB / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1429, allocations: 0 / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007186/0.1436, allocations: 425.6 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.1437, allocations: 15.98 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1437, allocations: 4 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1438, allocations: 8 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.1441, allocations: 103.9 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1441, allocations: 7.938 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1443, allocations: 31.98 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.1444, allocations: 24.08 kB / 482.9 MB, free: 2.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001531/0.1445, allocations: 157.6 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.1446, allocations: 31.62 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.1447, allocations: 37.66 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1447, allocations: 4 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.1447, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1448, allocations: 0 / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1463, allocations: 1.005 MB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1463, allocations: 4 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.1467, allocations: 83.89 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1467, allocations: 0 / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.1467, allocations: 8 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1467, allocations: 12.05 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.1467, allocations: 8.375 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1479, allocations: 0.7564 MB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.148, allocations: 108.8 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.148, allocations: 12 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.1483, allocations: 27.98 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.1484, allocations: 27.92 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1485, allocations: 11.98 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1486, allocations: 156.5 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1486, allocations: 0 / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.1491, allocations: 68 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001153/0.1492, allocations: 107 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006114/0.1498, allocations: 296.4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1498, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.1501, allocations: 152 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.1508, allocations: 40.22 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1524, allocations: 1.095 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1528, allocations: 0.7725 MB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.1529, allocations: 27.44 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1529, allocations: 0 / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.005526/0.1584, allocations: 3.268 MB / 491.2 MB, free: 9.875 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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 OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeedCalcHelperMain.o] Error 1