Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.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.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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008835/0.0008835, allocations: 94.58 kB / 17.63 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009851/0.0009851, allocations: 196.1 kB / 18.54 MB, free: 4.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002281, allocations: 4 kB / 307.3 MB, free: 1.594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1227, allocations: 51.5 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.004852/0.1277, allocations: 2.71 MB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.13, allocations: 1.037 MB / 362.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.1302, allocations: 7.938 kB / 362.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.1307, allocations: 67.56 kB / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1311, allocations: 147 kB / 362.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1314, allocations: 147.7 kB / 362.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.1323, allocations: 0.5768 MB / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.1327, allocations: 118.2 kB / 363.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.1331, allocations: 251.1 kB / 363.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.1335, allocations: 279 kB / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.1336, allocations: 24 kB / 364.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1338, allocations: 75.97 kB / 364.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.1341, allocations: 115.5 kB / 364.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1342, allocations: 105.5 kB / 364.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.1348, allocations: 459.1 kB / 364.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.1349, allocations: 0 / 364.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.1349, allocations: 4 kB / 364.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1349, allocations: 0 / 364.9 MB, free: 7.965 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001644/0.1365, allocations: 0.7563 MB / 365.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.1366, allocations: 12.03 kB / 365.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.1369, allocations: 63.33 kB / 365.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.1374, allocations: 330.1 kB / 366 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.1375, allocations: 40.89 kB / 366.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1376, allocations: 44 kB / 366.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1387, allocations: 462.3 kB / 366.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.1387, allocations: 7.906 kB / 366.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.1388, allocations: 16 kB / 366.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1388, allocations: 8 kB / 366.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1399, allocations: 471.6 kB / 367 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.1423, allocations: 1.164 MB / 368.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.1433, allocations: 424.6 kB / 368.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.1439, allocations: 270.4 kB / 368.9 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.1439, allocations: 8.547 kB / 368.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.144, allocations: 43.06 kB / 368.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 1.763e-06/0.144, allocations: 3.938 kB / 368.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.005031/0.149, allocations: 2.379 MB / 371.3 MB, free: 1.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.1491, allocations: 59.97 kB / 371.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.1495, allocations: 300.5 kB / 371.7 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.1496, allocations: 49.69 kB / 371.7 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1498, allocations: 181.4 kB / 371.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.15, allocations: 213.1 kB / 372.1 MB, free: 408 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.15, allocations: 12 kB / 372.1 MB, free: 396 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1502, allocations: 346.8 kB / 372.5 MB, free: 40 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2514/0.4016, allocations: 223.1 kB / 372.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.4022, allocations: 281.5 kB / 373 MB, free: 19.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.4027, allocations: 185.9 kB / 373.1 MB, free: 19.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4027, allocations: 0 / 373.1 MB, free: 19.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001622/0.4043, allocations: 0.7157 MB / 373.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.4043, allocations: 7.328 kB / 373.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4043, allocations: 1.125 kB / 373.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009223/0.4053, allocations: 335.6 kB / 374.2 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.4056, allocations: 89.33 kB / 374.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.4069, allocations: 1.383 MB / 375.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/0.4075, allocations: 101.2 kB / 375.8 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.4075, allocations: 21.59 kB / 375.8 MB, free: 18.38 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 (55): * Single equations (assignments): 53 * 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 10,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.4078, allocations: 172.4 kB / 375.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.4079, allocations: 43.47 kB / 376 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.408, allocations: 62.38 kB / 376.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.4081, allocations: 7.984 kB / 376.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4081, allocations: 0 / 376.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4081, allocations: 3.484 kB / 376.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.4109, allocations: 1.463 MB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4109, allocations: 1.344 kB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.4113, allocations: 91.12 kB / 377.6 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007009/0.412, allocations: 307.4 kB / 377.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.4121, allocations: 23.47 kB / 377.9 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4131, allocations: 1.352 MB / 379.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4131, allocations: 1.922 kB / 379.3 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.415, allocations: 1.049 MB / 380.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.4152, allocations: 171.9 kB / 380.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.4153, allocations: 23.94 kB / 380.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.4157, allocations: 82.11 kB / 380.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.416, allocations: 113.3 kB / 380.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.416, allocations: 30.45 kB / 380.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.4163, allocations: 213 kB / 381 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4163, allocations: 1.094 kB / 381 MB, free: 15.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.4168, allocations: 132.2 kB / 381.1 MB, free: 15.47 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 8,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008854/0.4177, allocations: 384.8 kB / 381.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.419, allocations: 0.5692 MB / 382 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.419, allocations: 4 kB / 382 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.4197, allocations: 332.8 kB / 382.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.4204, allocations: 93.39 kB / 382.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.4244, allocations: 1.835 MB / 384.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4248, allocations: 0.8306 MB / 385.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.4249, allocations: 41.88 kB / 385.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4249, allocations: 0 / 385.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Templates: time 0.0153/0.4402, allocations: 8.924 MB / 394.1 MB, free: 9.73 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.Friction.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o] Error 1