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.001258/0.001258, allocations: 91.45 kB / 17.95 MB, free: 5.629 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.001552/0.001552, allocations: 179.4 kB / 18.86 MB, free: 4.77 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.879/1.879, allocations: 205.4 MB / 225 MB, free: 12.99 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.0006398/0.0006399, allocations: 16 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1373, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004646/0.142, allocations: 2.753 MB / 332.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.1454, allocations: 1.061 MB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006076/0.146, allocations: 7.938 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.1465, allocations: 55.59 kB / 333.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.1473, allocations: 138.9 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.1483, allocations: 235.7 kB / 333.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001636/0.15, allocations: 0.7608 MB / 334.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004016/0.1504, allocations: 120.6 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.1511, allocations: 314.7 kB / 335 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007003/0.1519, allocations: 350.7 kB / 335.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.1521, allocations: 32 kB / 335.4 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.1524, allocations: 83.89 kB / 335.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1526, allocations: 123.5 kB / 335.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.153, allocations: 292.3 kB / 335.9 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.1536, allocations: 0.5028 MB / 336.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1536, allocations: 0 / 336.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1536, allocations: 0 / 336.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1537, allocations: 0 / 336.4 MB, free: 12.92 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.001665/0.1553, allocations: 0.8145 MB / 337.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1554, allocations: 16.03 kB / 337.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1555, allocations: 56.28 kB / 337.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.1562, allocations: 367.6 kB / 337.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/0.1562, allocations: 33.38 kB / 337.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1563, allocations: 44.38 kB / 337.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.1577, allocations: 0.6269 MB / 338.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1577, allocations: 3.906 kB / 338.4 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.1578, allocations: 16 kB / 338.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.1578, allocations: 19.97 kB / 338.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1591, allocations: 0.6206 MB / 339 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.1616, allocations: 1.36 MB / 340.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009922/0.1627, allocations: 481 kB / 340.8 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.1633, allocations: 322.4 kB / 341.2 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.1633, allocations: 12.55 kB / 341.2 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1634, allocations: 35.12 kB / 341.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.697e-06/0.1634, allocations: 3.984 kB / 341.2 MB, free: 7.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=64): time 0.006688/0.1701, allocations: 3.023 MB / 344.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1701, allocations: 67.89 kB / 344.3 MB, free: 4.691 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.1706, allocations: 329.7 kB / 344.6 MB, free: 4.355 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.182e-05/0.1707, allocations: 49.69 kB / 344.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1709, allocations: 201.2 kB / 344.9 MB, free: 4.102 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.1711, allocations: 217.1 kB / 345.1 MB, free: 3.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1712, allocations: 61.69 kB / 345.1 MB, free: 3.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1714, allocations: 362.7 kB / 345.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.1721, allocations: 325.8 kB / 345.8 MB, free: 3.141 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.1729, allocations: 393 kB / 346.2 MB, free: 2.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.1739, allocations: 0.5226 MB / 346.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1739, allocations: 0 / 346.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001808/0.1757, allocations: 0.9466 MB / 347.7 MB, free: 1.266 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.1758, allocations: 11.94 kB / 347.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1758, allocations: 0 / 347.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.1771, allocations: 0.7307 MB / 348.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.1775, allocations: 103.9 kB / 348.5 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1791, allocations: 1.095 MB / 349.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.1799, allocations: 147.9 kB / 349.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.1799, allocations: 31.98 kB / 349.8 MB, free: 15.12 MB / 302.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 (clutch3.mode,$PRE.clutch3.mode,clutch3.locked,clutch3.startBackward,$PRE.clutch3.startBackward,clutch3.startForward,$PRE.clutch3.startForward,clutch3.free,clutch2.mode,$PRE.clutch2.mode,clutch2.locked,clutch2.startBackward,$PRE.clutch2.startBackward,clutch2.startForward,$PRE.clutch2.startForward,clutch2.free,clutch1.mode,$PRE.clutch1.mode,clutch1.locked,clutch1.startBackward,$PRE.clutch1.startBackward,clutch1.startForward,$PRE.clutch1.startForward,clutch1.free) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.1802, allocations: 184 kB / 350 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.1804, allocations: 47.44 kB / 350 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1806, allocations: 72.75 kB / 350.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.1806, allocations: 4 kB / 350.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.1806, allocations: 0 / 350.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.1806, allocations: 3.984 kB / 350.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/0.1834, allocations: 1.59 MB / 351.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1834, allocations: 0 / 351.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.1838, allocations: 91.89 kB / 351.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.1849, allocations: 0.7072 MB / 352.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.185, allocations: 23.97 kB / 352.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.1863, allocations: 1.068 MB / 353.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1863, allocations: 0 / 353.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.1888, allocations: 1.335 MB / 354.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.1891, allocations: 184.4 kB / 355.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1892, allocations: 27.98 kB / 355.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.1899, allocations: 139.8 kB / 355.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002786/0.1901, allocations: 128.3 kB / 355.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.1902, allocations: 27.91 kB / 355.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1905, allocations: 235.2 kB / 355.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 0 / 355.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000559/0.1911, allocations: 160 kB / 355.8 MB, free: 8.969 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/0.1914, allocations: 143.2 kB / 355.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.193, allocations: 0.7879 MB / 356.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1931, allocations: 0 / 356.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008224/0.1939, allocations: 441.8 kB / 357.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.1946, allocations: 92.7 kB / 357.2 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1976, allocations: 1.752 MB / 359 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1982, allocations: 0.8481 MB / 359.8 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.1983, allocations: 39.42 kB / 359.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1983, allocations: 0 / 359.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01403/0.2124, allocations: 8.52 MB / 368.4 MB, free: 12.3 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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