Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.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) 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(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 95 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009587/0.0009587, allocations: 196.4 kB / 18.54 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 7.938 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1219, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.002508/0.1245, allocations: 1.97 MB / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1259, allocations: 0.8149 MB / 361.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.126, allocations: 7.938 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1263, allocations: 35.7 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1264, allocations: 43.69 kB / 361.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1269, allocations: 151.7 kB / 361.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.1272, allocations: 335.3 kB / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1274, allocations: 90.22 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.1277, allocations: 135.5 kB / 362.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1279, allocations: 143.4 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.128, allocations: 16 kB / 362.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.128, allocations: 16 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.1281, allocations: 79.77 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1282, allocations: 69.52 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1285, allocations: 223.7 kB / 362.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.1285, allocations: 4 kB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1285, allocations: 4 kB / 362.9 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1285, allocations: 0 / 362.9 MB, free: 10 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.001126/0.1297, allocations: 0.5848 MB / 363.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1297, allocations: 8.031 kB / 363.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.1298, allocations: 43.62 kB / 363.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1302, allocations: 272.2 kB / 363.8 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.1304, allocations: 141.7 kB / 363.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.1305, allocations: 35.86 kB / 364 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.1316, allocations: 0.5667 MB / 364.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1317, allocations: 4 kB / 364.5 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.1317, allocations: 8 kB / 364.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1317, allocations: 8 kB / 364.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.133, allocations: 0.5386 MB / 365.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.1346, allocations: 1.014 MB / 366.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.1361, allocations: 0.5256 MB / 366.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.1367, allocations: 271.7 kB / 366.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.1368, allocations: 12.12 kB / 366.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/0.1369, allocations: 42.7 kB / 367 MB, free: 5.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.404e-06/0.1369, allocations: 0 / 367 MB, free: 5.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.2943/0.4312, allocations: 6.747 MB / 373.7 MB, free: 20.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.4314, allocations: 150.4 kB / 373.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.4317, allocations: 201.8 kB / 374 MB, free: 20.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.4318, allocations: 41.75 kB / 374.1 MB, free: 20.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4319, allocations: 140.2 kB / 374.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.4321, allocations: 192.9 kB / 374.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.4322, allocations: 13.16 kB / 374.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4324, allocations: 343.5 kB / 374.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.4343, allocations: 0.6529 MB / 375.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.4363, allocations: 0.8317 MB / 376.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.4379, allocations: 0.6053 MB / 376.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4379, allocations: 1.375 kB / 376.8 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003874/0.4418, allocations: 1.461 MB / 378.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.4419, allocations: 10.91 kB / 378.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4419, allocations: 6.094 kB / 378.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/0.4419, allocations: 14.59 kB / 378.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.4435, allocations: 230.7 kB / 378.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.658e-05/0.4435, allocations: 15.95 kB / 378.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.4446, allocations: 121 kB / 378.7 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4447, allocations: 32.17 kB / 378.7 MB, free: 18.44 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.000382/0.4451, allocations: 176.3 kB / 378.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.4455, allocations: 152.6 kB / 379.1 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.4457, allocations: 61.22 kB / 379.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.4458, allocations: 12.3 kB / 379.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.4458, allocations: 1.031 kB / 379.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4458, allocations: 2.781 kB / 379.1 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006231/0.4521, allocations: 2.298 MB / 381.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.4521, allocations: 14.83 kB / 381.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008683/0.453, allocations: 203.5 kB / 381.6 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/0.453, allocations: 14.34 kB / 381.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.4531, allocations: 24.67 kB / 381.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-05/0.4531, allocations: 20.53 kB / 381.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-05/0.4532, allocations: 18.06 kB / 381.7 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.4569, allocations: 1.663 MB / 383.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.4572, allocations: 170.4 kB / 383.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4573, allocations: 25.61 kB / 383.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.4579, allocations: 96.17 kB / 383.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.4582, allocations: 103.7 kB / 383.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.4583, allocations: 33.61 kB / 383.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.4584, allocations: 145.3 kB / 383.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4584, allocations: 1.031 kB / 383.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008531/0.4593, allocations: 117.3 kB / 384.1 MB, free: 15.67 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.0002563/0.4596, allocations: 137.2 kB / 384.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.4627, allocations: 1.186 MB / 385.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.4627, allocations: 1.219 kB / 385.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.4638, allocations: 382.3 kB / 385.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.4648, allocations: 133.1 kB / 385.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.4675, allocations: 1.362 MB / 387.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.4679, allocations: 0.8167 MB / 388.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.4683, allocations: 41.14 kB / 388.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4683, allocations: 3.062 kB / 388.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01297/0.4813, allocations: 7.141 MB / 395.2 MB, free: 10.06 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClockedCalcHelperMain.o] Error 1