Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000839/0.000839, allocations: 89.7 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008979/0.0008981, allocations: 203.8 kB / 18.54 MB, free: 5.277 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: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002592/0.0002593, allocations: 7.984 kB / 307.3 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1406, allocations: 51.49 MB / 358.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.002858/0.1436, allocations: 1.946 MB / 360.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1449, allocations: 0.776 MB / 361.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1451, allocations: 7.938 kB / 361.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1454, allocations: 47.75 kB / 361.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1455, allocations: 43.62 kB / 361.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.146, allocations: 131.8 kB / 361.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1464, allocations: 327.4 kB / 362 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1466, allocations: 84.97 kB / 362.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.147, allocations: 143.5 kB / 362.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1472, allocations: 147.4 kB / 362.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.1472, allocations: 12 kB / 362.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.684e-05/0.1473, allocations: 16 kB / 362.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1474, allocations: 71.8 kB / 362.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.1475, allocations: 65.58 kB / 362.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1477, allocations: 223.7 kB / 362.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.1477, allocations: 7.938 kB / 362.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1477, allocations: 0 / 362.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1477, allocations: 0 / 362.8 MB, free: 9.91 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001094/0.1488, allocations: 0.5732 MB / 363.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1489, allocations: 12.03 kB / 363.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.149, allocations: 39.62 kB / 363.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1493, allocations: 268.3 kB / 363.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.1495, allocations: 141.6 kB / 363.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.1496, allocations: 31.95 kB / 363.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1507, allocations: 0.5606 MB / 364.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1507, allocations: 3.938 kB / 364.4 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.1508, allocations: 12 kB / 364.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1508, allocations: 8 kB / 364.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1521, allocations: 0.5296 MB / 365 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.1536, allocations: 1.022 MB / 366 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.155, allocations: 0.5246 MB / 366.5 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.1556, allocations: 271.8 kB / 366.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1557, allocations: 8.172 kB / 366.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1557, allocations: 46.64 kB / 366.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.1557, allocations: 0 / 366.8 MB, free: 5.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.29/0.4457, allocations: 6.744 MB / 373.6 MB, free: 20.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.4459, allocations: 147.4 kB / 373.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.4461, allocations: 194.2 kB / 373.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.4462, allocations: 42.27 kB / 374 MB, free: 20 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.4463, allocations: 139.1 kB / 374.1 MB, free: 19.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.4466, allocations: 191.5 kB / 374.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.4467, allocations: 13.12 kB / 374.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4468, allocations: 343.8 kB / 374.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.4487, allocations: 0.6538 MB / 375.3 MB, free: 19.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.4505, allocations: 0.8367 MB / 376.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.452, allocations: 0.603 MB / 376.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.452, allocations: 2.312 kB / 376.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003459/0.4555, allocations: 1.464 MB / 378.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.4556, allocations: 12.17 kB / 378.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4556, allocations: 5.125 kB / 378.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.4556, allocations: 10.91 kB / 378.2 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.457, allocations: 234.3 kB / 378.4 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-05/0.457, allocations: 10.66 kB / 378.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.4579, allocations: 128.9 kB / 378.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.458, allocations: 24.97 kB / 378.6 MB, free: 18.27 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.0003136/0.4583, allocations: 185 kB / 378.8 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.4586, allocations: 150.5 kB / 378.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.4588, allocations: 60.47 kB / 379 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4588, allocations: 8.656 kB / 379 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.4588, allocations: 7.875 kB / 379 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4589, allocations: 2.797 kB / 379 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005152/0.464, allocations: 2.292 MB / 381.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.464, allocations: 8.969 kB / 381.3 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.4648, allocations: 207.8 kB / 381.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.507e-05/0.4649, allocations: 15.09 kB / 381.5 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.4649, allocations: 24.75 kB / 381.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.465, allocations: 19.19 kB / 381.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/0.465, allocations: 17.44 kB / 381.6 MB, free: 16.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.4682, allocations: 1.657 MB / 383.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.4684, allocations: 161.2 kB / 383.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.534e-05/0.4685, allocations: 30.98 kB / 383.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.4691, allocations: 101.5 kB / 383.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4693, allocations: 107.7 kB / 383.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.4694, allocations: 30.98 kB / 383.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.4695, allocations: 138.6 kB / 383.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4695, allocations: 0 / 383.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007579/0.4703, allocations: 126.1 kB / 383.9 MB, free: 15.49 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.0001872/0.4705, allocations: 133 kB / 384.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.4734, allocations: 1.187 MB / 385.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4734, allocations: 5.094 kB / 385.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4745, allocations: 375.9 kB / 385.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009066/0.4754, allocations: 132 kB / 385.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.4779, allocations: 1.361 MB / 387.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.4782, allocations: 0.8129 MB / 387.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.4786, allocations: 45.34 kB / 388 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4786, allocations: 0 / 388 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01374/0.4923, allocations: 7.109 MB / 395.1 MB, free: 9.965 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.SuperSampledCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampledCalcHelperMain.o] Error 1