Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 97.02 kB / 16.95 MB, free: 5.953 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.001466/0.001466, allocations: 175.8 kB / 17.84 MB, free: 5.621 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.511/1.511, allocations: 223.2 MB / 241.8 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 4 kB / 301.5 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 50.41 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.003629/0.1481, allocations: 2.628 MB / 354.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1506, allocations: 1.002 MB / 355.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.1509, allocations: 4 kB / 355.5 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.1513, allocations: 55.56 kB / 355.6 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.1516, allocations: 138.9 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.1523, allocations: 203.7 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.1531, allocations: 0.7061 MB / 356.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.1534, allocations: 111.1 kB / 356.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.1539, allocations: 310.9 kB / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.1544, allocations: 342.8 kB / 357.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.1545, allocations: 28 kB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1547, allocations: 71.95 kB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1548, allocations: 123.5 kB / 357.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.155, allocations: 117.5 kB / 357.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.1555, allocations: 0.4989 MB / 358.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.1555, allocations: 0 / 358.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1555, allocations: 0 / 358.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1556, allocations: 0 / 358.2 MB, free: 13.65 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001757/0.1573, allocations: 0.8145 MB / 359 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1574, allocations: 12.03 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1575, allocations: 63.2 kB / 359.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.1581, allocations: 350.7 kB / 359.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.1582, allocations: 29 kB / 359.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1583, allocations: 47.98 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.1595, allocations: 0.619 MB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1595, allocations: 7.906 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.1596, allocations: 16 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.1596, allocations: 8 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1608, allocations: 0.6245 MB / 360.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.1632, allocations: 1.367 MB / 362.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.1642, allocations: 474.1 kB / 362.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/0.1648, allocations: 318.4 kB / 362.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.1649, allocations: 4.562 kB / 362.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.1649, allocations: 39.12 kB / 362.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.593e-06/0.1649, allocations: 0 / 362.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=64): time 0.006282/0.1712, allocations: 3.028 MB / 366 MB, free: 5.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.1713, allocations: 63.91 kB / 366 MB, free: 5.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1716, allocations: 329.7 kB / 366.4 MB, free: 5.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.1717, allocations: 45.7 kB / 366.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1719, allocations: 197.2 kB / 366.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.1721, allocations: 224.9 kB / 366.8 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1721, allocations: 16 kB / 366.8 MB, free: 4.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1723, allocations: 354.8 kB / 367.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/0.1729, allocations: 325.8 kB / 367.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.1737, allocations: 385 kB / 367.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.1742, allocations: 259.2 kB / 368.1 MB, free: 3.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1742, allocations: 3.938 kB / 368.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001728/0.176, allocations: 0.9355 MB / 369.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.176, allocations: 4 kB / 369.1 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.176, allocations: 11.94 kB / 369.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.1773, allocations: 0.7325 MB / 369.8 MB, free: 1.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.1777, allocations: 107.8 kB / 369.9 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.1792, allocations: 1.087 MB / 371 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.1799, allocations: 151.9 kB / 371.1 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.1799, allocations: 23.94 kB / 371.2 MB, free: 248 kB / 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 (64): * Single equations (assignments): 63 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.1803, allocations: 188 kB / 371.4 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.1804, allocations: 47.44 kB / 371.4 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2678/0.4482, allocations: 62.45 kB / 371.5 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.4483, allocations: 6.891 kB / 371.5 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4483, allocations: 0.9062 kB / 371.5 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4483, allocations: 3.141 kB / 371.5 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.4519, allocations: 1.58 MB / 373.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.4519, allocations: 0 / 373.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.4523, allocations: 98.08 kB / 373.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.4538, allocations: 0.7038 MB / 373.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.4539, allocations: 27.94 kB / 373.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.4553, allocations: 1.061 MB / 374.9 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4553, allocations: 0.5625 kB / 374.9 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.4578, allocations: 1.327 MB / 376.3 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.4582, allocations: 192.3 kB / 376.5 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4583, allocations: 25.64 kB / 376.5 MB, free: 24.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.4589, allocations: 143 kB / 376.6 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.4593, allocations: 157 kB / 376.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.4593, allocations: 27.12 kB / 376.8 MB, free: 23.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.4596, allocations: 236.8 kB / 377 MB, free: 23.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4596, allocations: 0 / 377 MB, free: 23.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005917/0.4602, allocations: 154.1 kB / 377.2 MB, free: 23.85 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.4605, allocations: 158.2 kB / 377.3 MB, free: 23.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.4621, allocations: 0.7896 MB / 378.1 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4621, allocations: 0 / 378.1 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008974/0.463, allocations: 430.5 kB / 378.5 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.4637, allocations: 84.91 kB / 378.6 MB, free: 23.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.4666, allocations: 1.693 MB / 380.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4669, allocations: 0.849 MB / 381.2 MB, free: 21.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4671, allocations: 42.38 kB / 381.2 MB, free: 21.54 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4671, allocations: 0 / 381.2 MB, free: 21.54 MB / 302.1 MB Notification: Performance of Templates: time 0.01352/0.4806, allocations: 8.519 MB / 389.7 MB, free: 18.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutches.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.CoupledClutchesCalcHelperMain.o] Error 1