Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009254, allocations: 92.38 kB / 17.58 MB, free: 5.758 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.00093/0.0009303, allocations: 183.5 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005438, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.003406/0.1274, allocations: 2.626 MB / 331.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1294, allocations: 1.034 MB / 332.6 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.1297, allocations: 7.938 kB / 332.7 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1299, allocations: 55.61 kB / 332.7 MB, free: 320 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1302, allocations: 134.9 kB / 332.8 MB, free: 184 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.1308, allocations: 215.6 kB / 333 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007297/0.1315, allocations: 0.6984 MB / 333.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.1318, allocations: 111.1 kB / 333.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004285/0.1322, allocations: 310.9 kB / 334.2 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.1326, allocations: 338.8 kB / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.1327, allocations: 32 kB / 334.5 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.1329, allocations: 75.89 kB / 334.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1331, allocations: 123.6 kB / 334.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1332, allocations: 109.5 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.1337, allocations: 0.4989 MB / 335.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1337, allocations: 3.938 kB / 335.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1337, allocations: 0 / 335.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1338, allocations: 0 / 335.3 MB, free: 13.68 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001556/0.1353, allocations: 0.8223 MB / 336.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1354, allocations: 12.03 kB / 336.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1355, allocations: 59.33 kB / 336.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.136, allocations: 350.6 kB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.1361, allocations: 33 kB / 336.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1362, allocations: 44 kB / 336.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1373, allocations: 0.6229 MB / 337.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.1373, allocations: 11.83 kB / 337.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.1374, allocations: 20 kB / 337.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.1374, allocations: 12 kB / 337.3 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1385, allocations: 0.6129 MB / 337.9 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.1409, allocations: 1.364 MB / 339.3 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1419, allocations: 469.2 kB / 339.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.1425, allocations: 326.4 kB / 340.1 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.1426, allocations: 8.547 kB / 340.1 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1426, allocations: 39.12 kB / 340.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.095e-06/0.1426, allocations: 0 / 340.1 MB, free: 8.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=64): time 0.006107/0.1487, allocations: 3.028 MB / 343.1 MB, free: 5.551 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1488, allocations: 59.97 kB / 343.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.1492, allocations: 321.6 kB / 343.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1492, allocations: 49.69 kB / 343.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1494, allocations: 201.2 kB / 343.7 MB, free: 4.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.1496, allocations: 221 kB / 344 MB, free: 4.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1497, allocations: 12 kB / 344 MB, free: 4.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1498, allocations: 362.7 kB / 344.3 MB, free: 4.305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.1505, allocations: 321.8 kB / 344.6 MB, free: 3.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.1511, allocations: 393 kB / 345 MB, free: 3.605 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.1516, allocations: 259.2 kB / 345.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1517, allocations: 3.938 kB / 345.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001781/0.1534, allocations: 0.9433 MB / 346.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.1535, allocations: 4 kB / 346.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1535, allocations: 0 / 346.2 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.1549, allocations: 0.7286 MB / 347 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.1553, allocations: 107.8 kB / 347.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.1568, allocations: 1.103 MB / 348.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.1575, allocations: 147.9 kB / 348.3 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.1576, allocations: 27.98 kB / 348.3 MB, free: 260 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003242/0.1579, allocations: 176 kB / 348.5 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.158, allocations: 51.38 kB / 348.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.1582, allocations: 76.77 kB / 348.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1582, allocations: 8 kB / 348.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.1583, allocations: 0 / 348.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1583, allocations: 0 / 348.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.1611, allocations: 1.583 MB / 350.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1612, allocations: 0 / 350.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.1616, allocations: 95.88 kB / 350.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.1628, allocations: 0.6996 MB / 351 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.1628, allocations: 27.97 kB / 351 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.1642, allocations: 1.064 MB / 352.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1642, allocations: 3.953 kB / 352.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.1667, allocations: 1.331 MB / 353.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.167, allocations: 188.4 kB / 353.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.1671, allocations: 28 kB / 353.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.1677, allocations: 139.9 kB / 353.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.168, allocations: 148.2 kB / 353.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.1681, allocations: 27.97 kB / 354 MB, free: 10.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1684, allocations: 235.1 kB / 354.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1684, allocations: 0 / 354.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007035/0.1691, allocations: 164 kB / 354.4 MB, free: 10.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.1694, allocations: 147.1 kB / 354.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1711, allocations: 0.7879 MB / 355.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1711, allocations: 0 / 355.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008305/0.172, allocations: 429.9 kB / 355.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.1726, allocations: 85.38 kB / 355.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.1759, allocations: 1.693 MB / 357.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.1765, allocations: 0.8481 MB / 358.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1767, allocations: 43.42 kB / 358.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1767, allocations: 0 / 358.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Templates: time 0.01414/0.1908, allocations: 8.529 MB / 366.9 MB, free: 13.48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.o] Error 1