Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction") translateModel(Modelica.Mechanics.Rotational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia3.phi|inertia3.w|spring.phi_rel|spring.w_rel|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009954, allocations: 94.17 kB / 16.95 MB, free: 5.664 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.001306/0.001306, allocations: 188.1 kB / 17.85 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.3 MB / 241.9 MB, free: 14.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003128, allocations: 4 kB / 301.5 MB, free: 6.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1409, allocations: 50.41 MB / 351.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.00394/0.1449, allocations: 2.584 MB / 354.4 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1472, allocations: 0.8885 MB / 355.3 MB, free: 252 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.1475, allocations: 7.938 kB / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1478, allocations: 51.61 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1481, allocations: 111.2 kB / 355.5 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.1487, allocations: 163.8 kB / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.1496, allocations: 0.5653 MB / 356.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000306/0.1499, allocations: 102.2 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.1503, allocations: 235.1 kB / 356.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1507, allocations: 263 kB / 356.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-05/0.1508, allocations: 31.94 kB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.151, allocations: 75.91 kB / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1511, allocations: 95.62 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1513, allocations: 101.5 kB / 357.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.1518, allocations: 415.1 kB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1518, allocations: 4 kB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1518, allocations: 0 / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1518, allocations: 0 / 357.5 MB, free: 14.04 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001491/0.1533, allocations: 0.7251 MB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1534, allocations: 8.031 kB / 358.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1535, allocations: 47.44 kB / 358.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.154, allocations: 310.2 kB / 358.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.154, allocations: 44.92 kB / 358.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.1541, allocations: 43.91 kB / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.1551, allocations: 470.3 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1551, allocations: 3.984 kB / 359.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.1552, allocations: 19.95 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1552, allocations: 8 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.1561, allocations: 495.7 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.1585, allocations: 1.156 MB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.1594, allocations: 397.9 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.16, allocations: 281.4 kB / 361.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.16, allocations: 4.438 kB / 361.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.1601, allocations: 42.98 kB / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.275e-06/0.1601, allocations: 0 / 361.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005513/0.1656, allocations: 2.44 MB / 364 MB, free: 7.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.1657, allocations: 59.92 kB / 364 MB, free: 7.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.1661, allocations: 291.2 kB / 364.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.1661, allocations: 41.7 kB / 364.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1663, allocations: 181.3 kB / 364.5 MB, free: 6.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.1665, allocations: 193.3 kB / 364.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1665, allocations: 8 kB / 364.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1667, allocations: 350.8 kB / 365.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.1672, allocations: 245.2 kB / 365.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.1678, allocations: 296.8 kB / 365.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.1682, allocations: 207.2 kB / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1682, allocations: 3.938 kB / 365.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001524/0.1698, allocations: 0.7523 MB / 366.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1698, allocations: 4 kB / 366.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1698, allocations: 0 / 366.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.171, allocations: 0.5013 MB / 367.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.1713, allocations: 91.89 kB / 367.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.1728, allocations: 1.405 MB / 368.6 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.1733, allocations: 108.1 kB / 368.7 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.1734, allocations: 19.98 kB / 368.7 MB, free: 2.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 8,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.1737, allocations: 169.6 kB / 368.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.1738, allocations: 39.53 kB / 368.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.1739, allocations: 71.67 kB / 369 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.174, allocations: 4 kB / 369 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.174, allocations: 0 / 369 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.174, allocations: 3.984 kB / 369 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.1771, allocations: 1.477 MB / 370.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.1771, allocations: 4 kB / 370.4 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.1775, allocations: 87.89 kB / 370.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008951/0.1784, allocations: 481.4 kB / 371 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.1785, allocations: 23.97 kB / 371 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2829/0.4614, allocations: 1.362 MB / 372.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.4615, allocations: 5.344 kB / 372.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.464, allocations: 1.107 MB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4644, allocations: 163.1 kB / 373.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4645, allocations: 20.66 kB / 373.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.465, allocations: 79.72 kB / 373.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/0.4654, allocations: 118 kB / 373.9 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.4655, allocations: 21.78 kB / 373.9 MB, free: 23.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002934/0.4658, allocations: 206.1 kB / 374.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4658, allocations: 0 / 374.1 MB, free: 23.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009282/0.4667, allocations: 131.1 kB / 374.2 MB, free: 23.53 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (clutch.mode,clutch.startForward,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.4671, allocations: 138.8 kB / 374.4 MB, free: 23.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.4688, allocations: 0.604 MB / 375 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4688, allocations: 0.8125 kB / 375 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.4696, allocations: 339.8 kB / 375.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.4703, allocations: 78.41 kB / 375.4 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/0.4746, allocations: 1.809 MB / 377.2 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.4753, allocations: 0.8172 MB / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.4755, allocations: 41.58 kB / 378 MB, free: 21.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4755, allocations: 0 / 378 MB, free: 21.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01691/0.4924, allocations: 8.479 MB / 386.5 MB, free: 19.19 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction.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_4.0.0_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o] Error 1