Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001649/0.001649, allocations: 109.5 kB / 17.81 MB, free: 5.559 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.002111/0.002111, allocations: 197.9 kB / 18.73 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 51.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 46.63 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.006586/0.1536, allocations: 3.059 MB / 330.3 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1566, allocations: 0.9746 MB / 331.3 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006093/0.1572, allocations: 4 kB / 331.3 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.1578, allocations: 47.62 kB / 331.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.1584, allocations: 119.1 kB / 331.5 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.1592, allocations: 187.7 kB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.1604, allocations: 0.6005 MB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1607, allocations: 111.9 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.1614, allocations: 251 kB / 332.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.162, allocations: 286.9 kB / 332.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.1624, allocations: 32 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.1627, allocations: 75.95 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.163, allocations: 111.5 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.1635, allocations: 222.8 kB / 333.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007316/0.1642, allocations: 431.2 kB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1642, allocations: 0 / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1643, allocations: 4 kB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.1643, allocations: 0 / 333.7 MB, free: 14.36 MB / 286.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.002012/0.1663, allocations: 0.7796 MB / 334.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1664, allocations: 8.031 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1665, allocations: 60.31 kB / 334.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.167, allocations: 327.3 kB / 334.9 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.167, allocations: 33.38 kB / 334.9 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.1671, allocations: 40.38 kB / 335 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.1681, allocations: 482.6 kB / 335.4 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.1682, allocations: 3.906 kB / 335.4 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1682, allocations: 19.94 kB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1682, allocations: 8 kB / 335.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1693, allocations: 479.7 kB / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1714, allocations: 1.118 MB / 337.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.1723, allocations: 392.3 kB / 337.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.1728, allocations: 270 kB / 337.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.1729, allocations: 8.438 kB / 337.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1729, allocations: 35 kB / 337.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 1.823e-06/0.1729, allocations: 4 kB / 337.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.005444/0.1784, allocations: 2.335 MB / 340.1 MB, free: 7.699 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.1785, allocations: 63.97 kB / 340.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1789, allocations: 283.3 kB / 340.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-05/0.179, allocations: 45.64 kB / 340.5 MB, free: 7.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1792, allocations: 189.3 kB / 340.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.1794, allocations: 193.3 kB / 340.8 MB, free: 6.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1796, allocations: 110.2 kB / 340.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1798, allocations: 346.8 kB / 341.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.1803, allocations: 249.2 kB / 341.5 MB, free: 6.211 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.1808, allocations: 288.8 kB / 341.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/0.1817, allocations: 410.4 kB / 342.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1817, allocations: 0 / 342.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00183/0.1835, allocations: 0.7911 MB / 343 MB, free: 4.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1836, allocations: 8.031 kB / 343 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1836, allocations: 0 / 343 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.1847, allocations: 0.5013 MB / 343.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.185, allocations: 91.83 kB / 343.6 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1866, allocations: 1.401 MB / 345 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.1871, allocations: 75.92 kB / 345.1 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.1871, allocations: 16 kB / 345.1 MB, free: 2.562 MB / 286.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 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.1874, allocations: 181.4 kB / 345.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.1875, allocations: 39.53 kB / 345.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1876, allocations: 55.73 kB / 345.4 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1876, allocations: 11.94 kB / 345.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.1876, allocations: 0 / 345.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1876, allocations: 0 / 345.4 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.1906, allocations: 1.454 MB / 346.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.1906, allocations: 7.938 kB / 346.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.191, allocations: 91.98 kB / 346.9 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/0.1918, allocations: 485.3 kB / 347.4 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.1919, allocations: 19.98 kB / 347.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.1935, allocations: 1.374 MB / 348.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1936, allocations: 4.062 kB / 348.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.1957, allocations: 1.084 MB / 349.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.196, allocations: 168.6 kB / 350 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/0.1961, allocations: 19.94 kB / 350.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.1965, allocations: 59.92 kB / 350.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.1967, allocations: 96.22 kB / 350.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.1968, allocations: 27.97 kB / 350.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.197, allocations: 198 kB / 350.4 MB, free: 13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.197, allocations: 0 / 350.4 MB, free: 13 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.1976, allocations: 140 kB / 350.6 MB, free: 12.86 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002974/0.1979, allocations: 139.2 kB / 350.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.1992, allocations: 0.581 MB / 351.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1992, allocations: 4.062 kB / 351.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.2, allocations: 338.2 kB / 351.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.2006, allocations: 68.55 kB / 351.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.2051, allocations: 1.648 MB / 353.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007323/0.2058, allocations: 0.8244 MB / 354.2 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.206, allocations: 35.42 kB / 354.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.206, allocations: 0 / 354.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Templates: time 0.01532/0.2213, allocations: 8.53 MB / 362.7 MB, free: 0.6289 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FrictionCalcHelperMain.o] Error 1