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.00164/0.00164, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001923/0.001923, allocations: 194 kB / 18.72 MB, free: 4.762 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.768/1.768, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001486/0.001486, allocations: 47.92 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.005449/0.1229, allocations: 3.127 MB / 330.4 MB, free: 1.738 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1252, allocations: 1.076 MB / 331.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.1257, allocations: 11.94 kB / 331.5 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1261, allocations: 43.62 kB / 331.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.1267, allocations: 142.9 kB / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.1275, allocations: 239.7 kB / 331.9 MB, free: 228 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1285, allocations: 0.7607 MB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1288, allocations: 116.6 kB / 332.8 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.1295, allocations: 322.8 kB / 333.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006721/0.1302, allocations: 362.7 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.1303, allocations: 39.94 kB / 333.5 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.1306, allocations: 87.89 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1308, allocations: 135.5 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.1311, allocations: 270.6 kB / 333.9 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.1316, allocations: 0.503 MB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1316, allocations: 4 kB / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1316, allocations: 0 / 334.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1317, allocations: 0 / 334.5 MB, free: 13.64 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.001758/0.1334, allocations: 0.8884 MB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1335, allocations: 8.031 kB / 335.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1336, allocations: 56.28 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.1341, allocations: 363.7 kB / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.1341, allocations: 33.38 kB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.483e-05/0.1342, allocations: 48.36 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1354, allocations: 0.6191 MB / 336.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.1355, allocations: 7.906 kB / 336.5 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.1355, allocations: 16 kB / 336.5 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1355, allocations: 8 kB / 336.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1368, allocations: 0.605 MB / 337.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1391, allocations: 1.332 MB / 338.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.1401, allocations: 465 kB / 338.9 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.1407, allocations: 314.4 kB / 339.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.1407, allocations: 4.562 kB / 339.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.1408, allocations: 39.12 kB / 339.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 1.542e-06/0.1408, allocations: 0 / 339.2 MB, free: 8.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=64): time 0.006085/0.1469, allocations: 2.867 MB / 342.1 MB, free: 5.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1469, allocations: 59.91 kB / 342.2 MB, free: 5.602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1473, allocations: 333.7 kB / 342.5 MB, free: 5.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.1474, allocations: 45.7 kB / 342.5 MB, free: 5.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1476, allocations: 201.2 kB / 342.7 MB, free: 5.012 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.1478, allocations: 217.1 kB / 342.9 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.148, allocations: 134.5 kB / 343.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1482, allocations: 362.7 kB / 343.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.1488, allocations: 313.8 kB / 343.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.1495, allocations: 381 kB / 344.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.1505, allocations: 0.5108 MB / 344.6 MB, free: 3.098 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1505, allocations: 0 / 344.6 MB, free: 3.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001828/0.1523, allocations: 0.9232 MB / 345.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1524, allocations: 11.94 kB / 345.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1524, allocations: 0 / 345.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.1537, allocations: 0.7346 MB / 346.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.154, allocations: 95.89 kB / 346.4 MB, free: 1.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.1555, allocations: 1.099 MB / 347.5 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.1562, allocations: 103.9 kB / 347.6 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.1563, allocations: 27.98 kB / 347.6 MB, free: 68 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 (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.0002957/0.1566, allocations: 183.9 kB / 347.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1567, allocations: 47.44 kB / 347.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1568, allocations: 68.75 kB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1568, allocations: 12 kB / 347.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1568, allocations: 0 / 347.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1569, allocations: 3.984 kB / 347.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.1596, allocations: 1.571 MB / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1596, allocations: 0 / 349.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.16, allocations: 87.88 kB / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.1612, allocations: 0.7073 MB / 350.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.1613, allocations: 27.95 kB / 350.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.1628, allocations: 1.056 MB / 351.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1629, allocations: 4 kB / 351.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.1656, allocations: 1.308 MB / 352.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.166, allocations: 188.4 kB / 352.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.1661, allocations: 20 kB / 352.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.1667, allocations: 111.7 kB / 353 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.167, allocations: 120.3 kB / 353.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.1671, allocations: 35.97 kB / 353.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.1673, allocations: 231.2 kB / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1673, allocations: 0 / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005793/0.1679, allocations: 160 kB / 353.5 MB, free: 10 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.0003119/0.1682, allocations: 151.3 kB / 353.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.1699, allocations: 0.7644 MB / 354.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.17, allocations: 4 kB / 354.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.1709, allocations: 421.9 kB / 354.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.1717, allocations: 89.31 kB / 354.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.1747, allocations: 1.633 MB / 356.6 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.1752, allocations: 0.8481 MB / 357.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.1754, allocations: 35.42 kB / 357.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1754, allocations: 0 / 357.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Templates: time 0.01362/0.189, allocations: 8.579 MB / 366 MB, free: 13.43 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