Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches") translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 92.38 kB / 17.63 MB, free: 6.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.00199, allocations: 197.4 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.004967/0.1251, allocations: 2.76 MB / 361.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003476/0.1286, allocations: 1.139 MB / 362.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.1295, allocations: 11.94 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008468/0.1304, allocations: 79.52 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.1317, allocations: 186.8 kB / 363 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.1327, allocations: 183.7 kB / 363.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.1344, allocations: 0.7218 MB / 363.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1349, allocations: 115.1 kB / 364 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.1361, allocations: 326.8 kB / 364.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.1369, allocations: 362.7 kB / 364.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.137, allocations: 32 kB / 364.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.1374, allocations: 79.98 kB / 364.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1376, allocations: 143.5 kB / 364.9 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1379, allocations: 121.3 kB / 365 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008581/0.1387, allocations: 0.5458 MB / 365.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.1388, allocations: 0 / 365.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1388, allocations: 3.938 kB / 365.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1388, allocations: 0 / 365.6 MB, free: 7.32 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002105/0.1409, allocations: 0.8729 MB / 366.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.141, allocations: 8.031 kB / 366.4 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.1413, allocations: 87.23 kB / 366.5 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.142, allocations: 372.9 kB / 366.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.142, allocations: 37 kB / 366.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1421, allocations: 47.95 kB / 367 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.1435, allocations: 0.6034 MB / 367.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.1435, allocations: 11.91 kB / 367.6 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.1436, allocations: 24 kB / 367.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1436, allocations: 12 kB / 367.6 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.1448, allocations: 0.5777 MB / 368.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1473, allocations: 1.391 MB / 369.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1484, allocations: 0.4971 MB / 370.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.149, allocations: 314.4 kB / 370.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.1491, allocations: 16.55 kB / 370.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1491, allocations: 43.11 kB / 370.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 3.206e-06/0.1491, allocations: 0 / 370.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.2524/0.4015, allocations: 2.992 MB / 373.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.4016, allocations: 59.88 kB / 373.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.4021, allocations: 352 kB / 373.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.4021, allocations: 53.22 kB / 373.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.4023, allocations: 199.1 kB / 374.1 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4025, allocations: 256.5 kB / 374.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.4025, allocations: 13.14 kB / 374.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4026, allocations: 357.4 kB / 374.7 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.4034, allocations: 305.7 kB / 375 MB, free: 18.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.4041, allocations: 369.4 kB / 375.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.4046, allocations: 237.3 kB / 375.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4046, allocations: 1.25 kB / 375.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001833/0.4065, allocations: 0.9113 MB / 376.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4065, allocations: 6.297 kB / 376.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4065, allocations: 0 / 376.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.4077, allocations: 0.5044 MB / 377 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.4081, allocations: 100 kB / 377.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.4095, allocations: 1.087 MB / 378.2 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.4102, allocations: 153 kB / 378.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.4103, allocations: 22.41 kB / 378.4 MB, free: 17.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 (clutch1.free,$PRE.clutch1.startForward,clutch1.startForward,$PRE.clutch1.startBackward,clutch1.startBackward,clutch1.locked,$PRE.clutch1.mode,clutch1.mode,clutch2.free,$PRE.clutch2.startForward,clutch2.startForward,$PRE.clutch2.startBackward,clutch2.startBackward,clutch2.locked,$PRE.clutch2.mode,clutch2.mode,clutch3.free,$PRE.clutch3.startForward,clutch3.startForward,$PRE.clutch3.startBackward,clutch3.startBackward,clutch3.locked,$PRE.clutch3.mode,clutch3.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {3 28} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.4106, allocations: 190.6 kB / 378.6 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.4107, allocations: 53.84 kB / 378.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4109, allocations: 76.61 kB / 378.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4109, allocations: 6.344 kB / 378.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.411, allocations: 0.5156 kB / 378.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.411, allocations: 13.03 kB / 378.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.4137, allocations: 1.605 MB / 380.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4137, allocations: 0 / 380.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.4141, allocations: 96.84 kB / 380.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.4152, allocations: 481.3 kB / 380.9 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.4153, allocations: 26.56 kB / 380.9 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.4165, allocations: 1.054 MB / 382 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4165, allocations: 0 / 382 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.4189, allocations: 1.308 MB / 383.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.4191, allocations: 195.7 kB / 383.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4193, allocations: 25.91 kB / 383.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.4199, allocations: 146.3 kB / 383.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/0.4203, allocations: 155.6 kB / 383.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.4204, allocations: 30.67 kB / 383.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.4207, allocations: 253.8 kB / 384.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4207, allocations: 0.8438 kB / 384.1 MB, free: 14.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007351/0.4214, allocations: 159.5 kB / 384.2 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (clutch1.phi_rel,clutch1.w_rel,clutch2.phi_rel,clutch2.w_rel,J3.phi,J3.w,clutch3.phi_rel,clutch3.w_rel) * Number of discrete variables: 15 (clutch1.free,clutch1.startForward,clutch1.startBackward,clutch1.locked,clutch1.mode,clutch2.free,clutch2.startForward,clutch2.startBackward,clutch2.locked,clutch2.mode,clutch3.free,clutch3.startForward,clutch3.startBackward,clutch3.locked,clutch3.mode) * Number of discrete states: 9 (clutch3.mode,clutch3.startForward,clutch1.mode,clutch1.startForward,clutch1.startBackward,clutch2.mode,clutch2.startForward,clutch2.startBackward,clutch3.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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 {3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/0.4223, allocations: 392 kB / 384.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.4241, allocations: 0.7642 MB / 385.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4241, allocations: 1.219 kB / 385.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/0.4251, allocations: 435.8 kB / 385.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.4258, allocations: 109.2 kB / 385.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.4289, allocations: 1.727 MB / 387.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.4294, allocations: 0.8595 MB / 388.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.4296, allocations: 50.34 kB / 388.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4296, allocations: 0 / 388.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01445/0.4441, allocations: 9.047 MB / 397.6 MB, free: 7.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.CoupledClutchesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.o] Error 1