Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009614, allocations: 95.3 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.001106/0.001106, allocations: 177.7 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.529/1.529, allocations: 223.2 MB / 241.8 MB, free: 240 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 4 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.0029/0.1274, allocations: 1.949 MB / 353.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1293, allocations: 0.772 MB / 354.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.1298, allocations: 7.938 kB / 354.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.1304, allocations: 43.75 kB / 354.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.1309, allocations: 39.7 kB / 354.7 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.1318, allocations: 147.8 kB / 354.8 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006423/0.1325, allocations: 339.6 kB / 355.1 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.1328, allocations: 85.34 kB / 355.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.1332, allocations: 131.5 kB / 355.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1335, allocations: 147.4 kB / 355.5 MB, free: 376 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.556e-05/0.1336, allocations: 16 kB / 355.5 MB, free: 360 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.444e-05/0.1337, allocations: 16 kB / 355.5 MB, free: 344 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1338, allocations: 79.7 kB / 355.6 MB, free: 264 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1339, allocations: 69.58 kB / 355.7 MB, free: 188 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.1343, allocations: 227.7 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.1344, allocations: 4 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1344, allocations: 0 / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1344, allocations: 0 / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001489/0.1359, allocations: 0.5848 MB / 356.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.136, allocations: 12.03 kB / 356.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.1362, allocations: 43.58 kB / 356.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.1367, allocations: 267.1 kB / 356.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.1369, allocations: 149.7 kB / 356.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.695e-05/0.137, allocations: 31.91 kB / 357 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1384, allocations: 0.5738 MB / 357.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.1385, allocations: 0 / 357.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.1385, allocations: 15.98 kB / 357.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.1385, allocations: 8 kB / 357.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.14, allocations: 0.5308 MB / 358.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.142, allocations: 1.026 MB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.1436, allocations: 0.5069 MB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.1442, allocations: 275.8 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.1443, allocations: 4.188 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1443, allocations: 46.67 kB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.1443, allocations: 0 / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.03456/0.1789, allocations: 6.743 MB / 366.7 MB, free: 4.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.1791, allocations: 152.9 kB / 366.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1793, allocations: 200.1 kB / 367 MB, free: 4.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.1794, allocations: 37.7 kB / 367.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1795, allocations: 153.4 kB / 367.2 MB, free: 4.293 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.1797, allocations: 185.4 kB / 367.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1798, allocations: 8 kB / 367.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1799, allocations: 350.8 kB / 367.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.1814, allocations: 0.65 MB / 368.4 MB, free: 3.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.183, allocations: 0.8354 MB / 369.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.1844, allocations: 0.6059 MB / 369.9 MB, free: 1.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1844, allocations: 4 kB / 369.9 MB, free: 1.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003284/0.1877, allocations: 1.456 MB / 371.3 MB, free: 120 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.1877, allocations: 8 kB / 371.3 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.1878, allocations: 4.406 kB / 371.3 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.1878, allocations: 16 kB / 371.3 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2568/0.4446, allocations: 223.5 kB / 371.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.542e-05/0.4447, allocations: 12.86 kB / 371.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4458, allocations: 128.9 kB / 371.7 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.4459, allocations: 28.73 kB / 371.7 MB, free: 25.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003901/0.4463, allocations: 181.6 kB / 371.9 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.4467, allocations: 151.3 kB / 372.1 MB, free: 25.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.447, allocations: 61.8 kB / 372.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.447, allocations: 11.22 kB / 372.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.447, allocations: 4.938 kB / 372.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.447, allocations: 6.875 kB / 372.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.4523, allocations: 2.287 MB / 374.4 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.4524, allocations: 10.03 kB / 374.4 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.4532, allocations: 201.7 kB / 374.6 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.828e-05/0.4533, allocations: 19.03 kB / 374.7 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.4533, allocations: 29.75 kB / 374.7 MB, free: 24.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.761e-05/0.4534, allocations: 23.64 kB / 374.7 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/0.4534, allocations: 17.09 kB / 374.7 MB, free: 24.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.4569, allocations: 1.658 MB / 376.4 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.4572, allocations: 165.9 kB / 376.5 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.4573, allocations: 26.16 kB / 376.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.4578, allocations: 99.83 kB / 376.7 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.4581, allocations: 103.4 kB / 376.8 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.4582, allocations: 30.03 kB / 376.8 MB, free: 23.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.4583, allocations: 144.6 kB / 376.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4583, allocations: 1.969 kB / 376.9 MB, free: 23.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001074/0.4594, allocations: 126.3 kB / 377.1 MB, free: 23.7 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0002254/0.4596, allocations: 137.3 kB / 377.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.4627, allocations: 1.181 MB / 378.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4627, allocations: 2.594 kB / 378.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4638, allocations: 381.2 kB / 378.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.4648, allocations: 142.3 kB / 378.9 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.4673, allocations: 1.374 MB / 380.3 MB, free: 21.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.4677, allocations: 0.8145 MB / 381.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.468, allocations: 41.48 kB / 381.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of SimCode: time 2.726e-06/0.4681, allocations: 0.6562 kB / 381.1 MB, free: 21.28 MB / 302.1 MB Notification: Performance of Templates: time 0.0159/0.484, allocations: 7.133 MB / 388.3 MB, free: 18.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.o] Error 1