Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009852/0.0009851, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002607, allocations: 8 kB / 307.3 MB, free: 1.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1303, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.00276/0.1331, allocations: 1.952 MB / 360.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1344, allocations: 0.7871 MB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1345, allocations: 7.938 kB / 361.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1347, allocations: 39.77 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.135, allocations: 79.52 kB / 361.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.1351, allocations: 67.92 kB / 361.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1354, allocations: 243.4 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1356, allocations: 56.2 kB / 362 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.1358, allocations: 103.6 kB / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.136, allocations: 111.5 kB / 362.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.136, allocations: 12 kB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.1361, allocations: 59.98 kB / 362.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1362, allocations: 43.81 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.1363, allocations: 69.58 kB / 362.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1365, allocations: 215.7 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1365, allocations: 0 / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1366, allocations: 4 kB / 362.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1366, allocations: 0 / 362.6 MB, free: 10.26 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007508/0.1373, allocations: 0.5093 MB / 363.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1374, allocations: 11.97 kB / 363.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1375, allocations: 35.7 kB / 363.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1378, allocations: 238.7 kB / 363.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1379, allocations: 24.36 kB / 363.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.1379, allocations: 23.94 kB / 363.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1383, allocations: 218.3 kB / 363.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1383, allocations: 11.91 kB / 363.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.1384, allocations: 4 kB / 363.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1384, allocations: 4 kB / 363.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.1387, allocations: 163.2 kB / 363.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1398, allocations: 0.7781 MB / 364.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.1402, allocations: 150.5 kB / 364.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.1403, allocations: 73.02 kB / 364.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1404, allocations: 0 / 364.8 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1404, allocations: 30.56 kB / 364.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.1404, allocations: 4 kB / 364.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001859/0.1423, allocations: 1.016 MB / 365.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1423, allocations: 59.34 kB / 365.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.1426, allocations: 211.8 kB / 366.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1426, allocations: 37.69 kB / 366.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.363e-05/0.1427, allocations: 140.2 kB / 366.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.1428, allocations: 71 kB / 366.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.1428, allocations: 8 kB / 366.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.143, allocations: 330.8 kB / 366.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1431, allocations: 67.97 kB / 366.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1433, allocations: 107.4 kB / 366.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1435, allocations: 73.08 kB / 367 MB, free: 5.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1435, allocations: 0 / 367 MB, free: 5.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004694/0.144, allocations: 278.6 kB / 367.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.144, allocations: 4 kB / 367.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.144, allocations: 4 kB / 367.2 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1442, allocations: 56.78 kB / 367.3 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1444, allocations: 35.98 kB / 367.3 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.1462, allocations: 1.648 MB / 369 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1464, allocations: 27.97 kB / 369 MB, free: 3.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.1464, allocations: 20.05 kB / 369 MB, free: 3.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.1465, allocations: 141.7 kB / 369.2 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.1466, allocations: 19.72 kB / 369.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.1466, allocations: 25.88 kB / 369.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1467, allocations: 4 kB / 369.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1467, allocations: 0 / 369.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1467, allocations: 3.984 kB / 369.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008941/0.1476, allocations: 0.6121 MB / 369.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1476, allocations: 0 / 369.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1478, allocations: 43.98 kB / 369.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.1479, allocations: 56.92 kB / 369.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.148, allocations: 8 kB / 369.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.1495, allocations: 1.558 MB / 371.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1495, allocations: 4.031 kB / 371.5 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.1501, allocations: 425.7 kB / 371.9 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.1502, allocations: 108.9 kB / 372 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1503, allocations: 8 kB / 372 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1505, allocations: 31.97 kB / 372.1 MB, free: 60 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2397/0.3902, allocations: 62.16 kB / 372.1 MB, free: 20 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.3903, allocations: 5.109 kB / 372.1 MB, free: 20 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003362/0.3907, allocations: 158.2 kB / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3907, allocations: 0 / 372.3 MB, free: 19.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.3915, allocations: 69.17 kB / 372.4 MB, free: 19.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.3925, allocations: 358.8 kB / 372.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.3934, allocations: 320.1 kB / 373 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3934, allocations: 0 / 373 MB, free: 19.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.3938, allocations: 231.5 kB / 373.2 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.3943, allocations: 44.19 kB / 373.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.3958, allocations: 0.8676 MB / 374.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.396, allocations: 0.7479 MB / 374.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.3961, allocations: 22.98 kB / 374.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3961, allocations: 3.938 kB / 374.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of Templates: time 0.008072/0.4042, allocations: 3.94 MB / 378.9 MB, free: 18.04 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.Mechanics.Rotational.Examples.OneWayClutchDisengagedCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengagedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengagedCalcHelperMain.o] Error 1