Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008714, allocations: 95.73 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009435/0.0009436, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 8 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1204, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.00257/0.1231, allocations: 1.794 MB / 360.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1242, allocations: 0.6474 MB / 361.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1243, allocations: 4 kB / 361.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.1245, allocations: 39.75 kB / 361.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1246, allocations: 43.77 kB / 361.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.1249, allocations: 91.81 kB / 361.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1253, allocations: 303 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1254, allocations: 64.33 kB / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.1256, allocations: 119.6 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1258, allocations: 131.5 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1259, allocations: 16 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.1259, allocations: 16 kB / 362 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.766e-05/0.126, allocations: 67.78 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1261, allocations: 57.58 kB / 362.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1263, allocations: 199.8 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1263, allocations: 0 / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1263, allocations: 4 kB / 362.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1263, allocations: 0 / 362.4 MB, free: 10.54 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009638/0.1273, allocations: 0.5493 MB / 362.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1273, allocations: 8.031 kB / 362.9 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.1274, allocations: 35.72 kB / 362.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1277, allocations: 243.8 kB / 363.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.1279, allocations: 149.5 kB / 363.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.128, allocations: 24 kB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007778/0.1287, allocations: 375.6 kB / 363.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.1288, allocations: 3.906 kB / 363.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.1288, allocations: 12 kB / 363.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1288, allocations: 4 kB / 363.7 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1301, allocations: 0.5174 MB / 364.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.1317, allocations: 1.019 MB / 365.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1328, allocations: 355.1 kB / 365.6 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.1333, allocations: 189.2 kB / 365.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.1334, allocations: 4.234 kB / 365.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1334, allocations: 38.8 kB / 365.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1334, allocations: 0 / 365.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.02495/0.1584, allocations: 6.667 MB / 372.5 MB, free: 76 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1584, allocations: 55.84 kB / 372.6 MB, free: 8 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2424/0.4008, allocations: 196.6 kB / 372.8 MB, free: 21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.401, allocations: 35.02 kB / 372.8 MB, free: 20.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4012, allocations: 148.1 kB / 372.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4016, allocations: 177.4 kB / 373.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.4016, allocations: 10.72 kB / 373.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4018, allocations: 336.7 kB / 373.5 MB, free: 20.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.4035, allocations: 0.4944 MB / 373.9 MB, free: 20.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.4051, allocations: 0.5533 MB / 374.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.4065, allocations: 439.1 kB / 374.9 MB, free: 20.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4065, allocations: 0.6562 kB / 374.9 MB, free: 20.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003062/0.4096, allocations: 1.062 MB / 376 MB, free: 20.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4096, allocations: 5.5 kB / 376 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4097, allocations: 1.375 kB / 376 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4097, allocations: 8.156 kB / 376 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.4107, allocations: 190.1 kB / 376.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.4107, allocations: 2.469 kB / 376.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.4114, allocations: 108.6 kB / 376.3 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.4115, allocations: 15.66 kB / 376.3 MB, free: 20.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.000234/0.4118, allocations: 162.1 kB / 376.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.4119, allocations: 27.23 kB / 376.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.412, allocations: 50.75 kB / 376.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.412, allocations: 4.844 kB / 376.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.412, allocations: 0 / 376.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.412, allocations: 3.75 kB / 376.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.4169, allocations: 1.991 MB / 378.6 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.4169, allocations: 10.91 kB / 378.6 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/0.4176, allocations: 168 kB / 378.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.4176, allocations: 12.75 kB / 378.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.4177, allocations: 21.03 kB / 378.8 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/0.4177, allocations: 15.55 kB / 378.8 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/0.4177, allocations: 17.44 kB / 378.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.4208, allocations: 1.34 MB / 380.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.421, allocations: 148.6 kB / 380.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.4211, allocations: 17.56 kB / 380.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005345/0.4216, allocations: 92.66 kB / 380.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.4219, allocations: 93.56 kB / 380.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.422, allocations: 19.88 kB / 380.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.4222, allocations: 147.2 kB / 380.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4222, allocations: 0 / 380.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.4228, allocations: 100.2 kB / 380.7 MB, free: 17.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0001729/0.423, allocations: 126.5 kB / 380.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.4254, allocations: 0.9173 MB / 381.8 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.4255, allocations: 5.938 kB / 381.8 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.4265, allocations: 363.4 kB / 382.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.4271, allocations: 67.48 kB / 382.2 MB, free: 17.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4293, allocations: 1.187 MB / 383.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.4296, allocations: 0.7845 MB / 384.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.4299, allocations: 33.05 kB / 384.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4299, allocations: 0 / 384.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.01187/0.4418, allocations: 5.534 MB / 389.7 MB, free: 13.91 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.ContinuousCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.ContinuousCalcHelperMain.o] Error 1