Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 88.84 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.001692/0.001693, allocations: 197.8 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.572/1.572, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004585, allocations: 8 kB / 418.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1688, allocations: 63.47 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.005266/0.1741, allocations: 3.517 MB / 485.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1771, allocations: 1.357 MB / 487 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.1775, allocations: 8 kB / 487 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.178, allocations: 99.27 kB / 487.1 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.1785, allocations: 246.5 kB / 487.3 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.1791, allocations: 243.6 kB / 487.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.1801, allocations: 0.9288 MB / 488.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.1804, allocations: 153 kB / 488.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.181, allocations: 406.6 kB / 489 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005211/0.1815, allocations: 462.3 kB / 489.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.1816, allocations: 40 kB / 489.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.1818, allocations: 99.92 kB / 489.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.182, allocations: 175.4 kB / 489.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1822, allocations: 149.3 kB / 490 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.1829, allocations: 0.7132 MB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1829, allocations: 0 / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1829, allocations: 0 / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.1829, allocations: 4 kB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002066/0.185, allocations: 1.052 MB / 491.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1851, allocations: 12.03 kB / 491.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.1855, allocations: 130.9 kB / 491.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.1862, allocations: 444.5 kB / 492.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.1862, allocations: 53.25 kB / 492.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1864, allocations: 67.98 kB / 492.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.1878, allocations: 0.8145 MB / 493.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.1879, allocations: 15.89 kB / 493.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.188, allocations: 24 kB / 493.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.188, allocations: 16 kB / 493.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.1895, allocations: 0.7442 MB / 494 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004008/0.1935, allocations: 2.649 MB / 496.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.1949, allocations: 0.6778 MB / 497.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.1957, allocations: 378.4 kB / 497.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.1958, allocations: 12.17 kB / 497.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1958, allocations: 46.69 kB / 497.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 4.829e-06/0.1958, allocations: 7.922 kB / 497.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.00777/0.2036, allocations: 3.679 MB / 0.4897 GB, free: 1.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.2037, allocations: 144.5 kB / 0.4899 GB, free: 1.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.2044, allocations: 461.8 kB / 0.4903 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.2045, allocations: 49.7 kB / 0.4903 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.2048, allocations: 284.5 kB / 0.4906 GB, free: 452 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.2052, allocations: 292.1 kB / 0.4909 GB, free: 156 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.2052, allocations: 19.98 kB / 0.4909 GB, free: 136 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.2055, allocations: 370.8 kB / 0.4913 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.2063, allocations: 365.8 kB / 0.4916 GB, free: 15.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008799/0.2071, allocations: 0.5216 MB / 0.4921 GB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.2078, allocations: 316.2 kB / 0.4924 GB, free: 14.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2078, allocations: 0 / 0.4924 GB, free: 14.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002743/0.2106, allocations: 1.218 MB / 0.4936 GB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2106, allocations: 8 kB / 0.4936 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2107, allocations: 4 kB / 0.4936 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.2119, allocations: 0.507 MB / 0.4941 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.2125, allocations: 155.7 kB / 0.4943 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.2166, allocations: 3.655 MB / 0.4978 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00094/0.2175, allocations: 203.7 kB / 0.498 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.2176, allocations: 43.98 kB / 0.4981 GB, free: 8.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,$PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 84 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 8,1 10,1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.218, allocations: 212.3 kB / 0.4983 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.2182, allocations: 63.25 kB / 0.4983 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.2184, allocations: 92.77 kB / 0.4984 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2184, allocations: 8 kB / 0.4984 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2184, allocations: 0 / 0.4984 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.2185, allocations: 7.984 kB / 0.4984 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.2224, allocations: 2.165 MB / 0.5006 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.2224, allocations: 96 / 0.5006 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.223, allocations: 131.8 kB / 0.5007 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/0.2242, allocations: 483.3 kB / 0.5011 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.2242, allocations: 31.95 kB / 0.5012 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.2282, allocations: 3.524 MB / 0.5046 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2282, allocations: 0 / 0.5046 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3305/0.5587, allocations: 1.733 MB / 0.5063 GB, free: 40.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008636/0.5597, allocations: 230.7 kB / 0.5065 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5599, allocations: 28.64 kB / 0.5066 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.561, allocations: 176 kB / 0.5067 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/0.5618, allocations: 215.3 kB / 0.5069 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.488e-05/0.5619, allocations: 36.11 kB / 0.507 GB, free: 40.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.5624, allocations: 314.7 kB / 0.5073 GB, free: 40.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5624, allocations: 1.094 kB / 0.5073 GB, free: 40.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.5634, allocations: 211.8 kB / 0.5075 GB, free: 40.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 10,1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.5645, allocations: 396.6 kB / 0.5078 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.5672, allocations: 1.042 MB / 0.5089 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5672, allocations: 0 / 0.5089 GB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.5686, allocations: 0.6187 MB / 0.5095 GB, free: 39.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5696, allocations: 132 kB / 0.5096 GB, free: 39.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.5746, allocations: 2.671 MB / 0.5122 GB, free: 38.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.5752, allocations: 0.9236 MB / 0.5131 GB, free: 37.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.5754, allocations: 58.69 kB / 0.5132 GB, free: 37.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5754, allocations: 0 / 0.5132 GB, free: 37.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02509/0.6005, allocations: 18.21 MB / 0.5309 GB, free: 30.38 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestFriction.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 OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestFrictionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestFrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestFrictionCalcHelperMain.o] Error 1