Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008394/0.0008396, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002818, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.003361/0.136, allocations: 1.906 MB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.138, allocations: 0.7987 MB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.1383, allocations: 4 kB / 361.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.1387, allocations: 39.77 kB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.1392, allocations: 87.45 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1395, allocations: 63.92 kB / 361.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.14, allocations: 251.4 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1401, allocations: 52.53 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.1404, allocations: 123.5 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1407, allocations: 115.6 kB / 362.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.1407, allocations: 12 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1409, allocations: 55.98 kB / 362.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.141, allocations: 43.83 kB / 362.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.1411, allocations: 61.58 kB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1414, allocations: 227.7 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1415, allocations: 0 / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1415, allocations: 4 kB / 362.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1415, allocations: 0 / 362.6 MB, free: 10.29 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001022/0.1425, allocations: 0.573 MB / 363.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1426, allocations: 8.031 kB / 363.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1428, allocations: 31.72 kB / 363.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1431, allocations: 242.6 kB / 363.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1431, allocations: 16 kB / 363.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1432, allocations: 19.95 kB / 363.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1437, allocations: 231.2 kB / 363.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1437, allocations: 0 / 363.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1437, allocations: 15.94 kB / 363.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1437, allocations: 4 kB / 363.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.1442, allocations: 203.6 kB / 363.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.1454, allocations: 0.6603 MB / 364.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006329/0.146, allocations: 214.4 kB / 364.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.1463, allocations: 108.8 kB / 364.9 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1463, allocations: 7.953 kB / 364.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.1468, allocations: 172.4 kB / 365.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.1468, allocations: 0 / 365.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002605/0.1494, allocations: 1.232 MB / 366.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.1495, allocations: 55.41 kB / 366.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1497, allocations: 206.1 kB / 366.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.1498, allocations: 37.7 kB / 366.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1499, allocations: 128.4 kB / 366.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.15, allocations: 90.73 kB / 366.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.15, allocations: 8 kB / 366.8 MB, free: 5.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1502, allocations: 330.8 kB / 367.2 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.1504, allocations: 104 kB / 367.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1507, allocations: 143.4 kB / 367.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.151, allocations: 135.6 kB / 367.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1511, allocations: 0 / 367.5 MB, free: 5.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008081/0.1519, allocations: 398.3 kB / 367.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.1519, allocations: 37.7 kB / 368 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1519, allocations: 0 / 368 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.1522, allocations: 56.89 kB / 368 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1524, allocations: 51.91 kB / 368.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1542, allocations: 1.641 MB / 369.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.1545, allocations: 48 kB / 369.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1545, allocations: 11.98 kB / 369.8 MB, free: 2.621 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: 11 ($whenCondition1,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,$PRE.signalEngagement.T_start,signalEngagement.T_start,$PRE.signalEngagement.count,signalEngagement.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0001663/0.1547, allocations: 138.3 kB / 369.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.1548, allocations: 31.67 kB / 369.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.1548, allocations: 34.48 kB / 370 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1548, allocations: 4 kB / 370 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1549, allocations: 0 / 370 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1549, allocations: 0 / 370 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1561, allocations: 0.6983 MB / 370.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1561, allocations: 0 / 370.7 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1563, allocations: 51.91 kB / 370.7 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.1564, allocations: 52.83 kB / 370.8 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1565, allocations: 4.062 kB / 370.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2638/0.4202, allocations: 1.544 MB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4203, allocations: 1.719 kB / 372.3 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.4215, allocations: 0.5205 MB / 372.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4216, allocations: 120.5 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.4216, allocations: 6.328 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.4219, allocations: 46.33 kB / 373 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.4221, allocations: 73.45 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4221, allocations: 10.75 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.4223, allocations: 145 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4223, allocations: 0 / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004629/0.4228, allocations: 77.45 kB / 373.3 MB, free: 18.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008596/0.4236, allocations: 355.1 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008898/0.4245, allocations: 457.1 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4245, allocations: 0 / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.425, allocations: 273.2 kB / 374.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.4254, allocations: 46.09 kB / 374.4 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4267, allocations: 0.8432 MB / 375.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4271, allocations: 0.7473 MB / 376 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.4272, allocations: 27.92 kB / 376 MB, free: 16.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4272, allocations: 0 / 376 MB, free: 16.98 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.438, allocations: 4.271 MB / 380.3 MB, free: 16.62 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutchCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchCalcHelperMain.o] Error 1