Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009671/0.000967, allocations: 88.39 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.001262/0.001263, allocations: 202.3 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.588/1.588, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003329, allocations: 8 kB / 307.3 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 51.49 MB / 358.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.00338/0.1348, allocations: 2.005 MB / 360.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1367, allocations: 0.8306 MB / 361.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.1369, allocations: 15.94 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1372, allocations: 39.7 kB / 361.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1374, allocations: 51.61 kB / 361.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.138, allocations: 167.4 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.1385, allocations: 355.3 kB / 362.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1387, allocations: 85.66 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.139, allocations: 143.4 kB / 362.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1392, allocations: 159.3 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.1393, allocations: 16 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.1393, allocations: 16 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1395, allocations: 79.77 kB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.1396, allocations: 77.52 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1399, allocations: 251.7 kB / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1399, allocations: 0 / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1399, allocations: 3.938 kB / 363 MB, free: 9.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.1399, allocations: 0 / 363 MB, free: 9.879 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001268/0.1412, allocations: 0.6313 MB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1413, allocations: 12.03 kB / 363.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.1414, allocations: 43.53 kB / 363.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.1418, allocations: 286.1 kB / 364 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.142, allocations: 153.7 kB / 364.2 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.1421, allocations: 31.95 kB / 364.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1433, allocations: 0.5755 MB / 364.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1433, allocations: 3.984 kB / 364.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1433, allocations: 15.98 kB / 364.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1434, allocations: 8 kB / 364.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1446, allocations: 0.5374 MB / 365.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1462, allocations: 1.037 MB / 366.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.1477, allocations: 0.5185 MB / 366.9 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.1483, allocations: 271.7 kB / 367.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.1483, allocations: 16.17 kB / 367.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1484, allocations: 38.7 kB / 367.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.1484, allocations: 0 / 367.2 MB, free: 5.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.2689/0.4173, allocations: 6.784 MB / 374 MB, free: 20.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.4174, allocations: 156.2 kB / 374.1 MB, free: 20.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.4179, allocations: 253.4 kB / 374.4 MB, free: 20.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.418, allocations: 36.92 kB / 374.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.4181, allocations: 152.3 kB / 374.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.4184, allocations: 192.1 kB / 374.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.4185, allocations: 16.97 kB / 374.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4186, allocations: 345.5 kB / 375.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.4204, allocations: 0.6536 MB / 375.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.4221, allocations: 0.8295 MB / 376.6 MB, free: 19.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.4236, allocations: 0.6046 MB / 377.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4236, allocations: 1.375 kB / 377.2 MB, free: 18.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003526/0.4272, allocations: 1.472 MB / 378.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4272, allocations: 10.94 kB / 378.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4273, allocations: 10.75 kB / 378.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.4273, allocations: 9.344 kB / 378.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4286, allocations: 231 kB / 378.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.4286, allocations: 11.12 kB / 378.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009324/0.4296, allocations: 121.2 kB / 379.1 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.4297, allocations: 27.23 kB / 379.1 MB, free: 18.31 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.0003444/0.43, allocations: 191.9 kB / 379.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.4304, allocations: 161.3 kB / 379.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.4306, allocations: 68.39 kB / 379.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4306, allocations: 7.188 kB / 379.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.4306, allocations: 1.219 kB / 379.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.4306, allocations: 10.38 kB / 379.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.4358, allocations: 2.309 MB / 381.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.4358, allocations: 15.44 kB / 381.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.4366, allocations: 202.3 kB / 382 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/0.4367, allocations: 15.84 kB / 382.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.4367, allocations: 24.41 kB / 382.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/0.4368, allocations: 19.84 kB / 382.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/0.4368, allocations: 17.31 kB / 382.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4402, allocations: 1.665 MB / 383.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4405, allocations: 184.2 kB / 384 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.4406, allocations: 25.86 kB / 384 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.4412, allocations: 96.44 kB / 384.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.4415, allocations: 110.1 kB / 384.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.4415, allocations: 30.64 kB / 384.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002371/0.4418, allocations: 184.3 kB / 384.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4418, allocations: 1.469 kB / 384.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000891/0.4427, allocations: 122.4 kB / 384.5 MB, free: 15.5 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.0001859/0.4429, allocations: 139.9 kB / 384.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.4459, allocations: 1.188 MB / 385.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.446, allocations: 9.25 kB / 385.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.4471, allocations: 373 kB / 386.2 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.001057/0.4481, allocations: 145.1 kB / 386.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.451, allocations: 1.439 MB / 387.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4515, allocations: 0.8338 MB / 388.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.4519, allocations: 41.27 kB / 388.7 MB, free: 13 MB / 302.1 MB Notification: Performance of SimCode: time 2.324e-06/0.4519, allocations: 1.062 kB / 388.7 MB, free: 13 MB / 302.1 MB Notification: Performance of Templates: time 0.01423/0.4661, allocations: 7.327 MB / 396 MB, free: 9.535 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.AbsoluteClocksCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocksCalcHelperMain.o] Error 1