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.0008426/0.0008426, allocations: 84.53 kB / 17.58 MB, free: 5.758 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.001032/0.001032, allocations: 190.1 kB / 18.48 MB, free: 5.203 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.789/1.789, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.000504/0.000504, allocations: 8 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1332, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Friction): time 0.003953/0.1373, allocations: 2.578 MB / 331.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1395, allocations: 0.936 MB / 332.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1398, allocations: 4 kB / 332.5 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.14, allocations: 51.56 kB / 332.5 MB, free: 500 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1403, allocations: 119.1 kB / 332.7 MB, free: 380 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.1409, allocations: 167.7 kB / 332.8 MB, free: 212 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.1416, allocations: 0.5577 MB / 333.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.1419, allocations: 114 kB / 333.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.1423, allocations: 239.1 kB / 333.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.1427, allocations: 259 kB / 334 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.1428, allocations: 28 kB / 334 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.143, allocations: 71.95 kB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1431, allocations: 87.64 kB / 334.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1432, allocations: 105.5 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.1437, allocations: 419.1 kB / 334.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1437, allocations: 0 / 334.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1437, allocations: 4 kB / 334.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1438, allocations: 0 / 334.7 MB, free: 14.33 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.001463/0.1452, allocations: 0.7289 MB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.1453, allocations: 8.031 kB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1454, allocations: 51.34 kB / 335.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1458, allocations: 310.2 kB / 335.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.1459, allocations: 33 kB / 335.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.146, allocations: 47.91 kB / 335.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.1469, allocations: 478.2 kB / 336.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1469, allocations: 0 / 336.3 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.147, allocations: 16 kB / 336.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.147, allocations: 8 kB / 336.3 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009361/0.148, allocations: 495.7 kB / 336.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.1503, allocations: 1.153 MB / 338 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000862/0.1511, allocations: 396.9 kB / 338.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/0.1519, allocations: 278 kB / 338.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/0.1519, allocations: 4.438 kB / 338.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.152, allocations: 46.94 kB / 338.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 3.516e-06/0.152, allocations: 0 / 338.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.007282/0.1593, allocations: 2.448 MB / 341.1 MB, free: 7.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1594, allocations: 59.91 kB / 341.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.1599, allocations: 283.3 kB / 341.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.16, allocations: 41.7 kB / 341.5 MB, free: 7.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1602, allocations: 185.2 kB / 341.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.1604, allocations: 185.4 kB / 341.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.1604, allocations: 8 kB / 341.9 MB, free: 6.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1607, allocations: 350.8 kB / 342.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.1614, allocations: 249.2 kB / 342.5 MB, free: 6.207 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.1621, allocations: 296.7 kB / 342.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.1627, allocations: 207.2 kB / 343 MB, free: 5.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1627, allocations: 0 / 343 MB, free: 5.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001982/0.1647, allocations: 0.7561 MB / 343.7 MB, free: 4.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.1647, allocations: 4 kB / 343.7 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1648, allocations: 3.938 kB / 343.7 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.1661, allocations: 0.5052 MB / 344.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.1666, allocations: 95.83 kB / 344.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.1685, allocations: 1.401 MB / 345.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007219/0.1693, allocations: 108.1 kB / 345.8 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.1693, allocations: 16 kB / 345.8 MB, free: 2.754 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 (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.0003649/0.1697, allocations: 173.7 kB / 346 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1699, allocations: 39.53 kB / 346.1 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.1701, allocations: 67.67 kB / 346.1 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.1701, allocations: 4 kB / 346.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.1701, allocations: 0 / 346.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1701, allocations: 0 / 346.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.1741, allocations: 1.481 MB / 347.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.1742, allocations: 4 kB / 347.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.1747, allocations: 87.89 kB / 347.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.1759, allocations: 477.5 kB / 348.2 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.176, allocations: 19.98 kB / 348.2 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.1777, allocations: 1.378 MB / 349.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1778, allocations: 4.031 kB / 349.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.1806, allocations: 1.104 MB / 350.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.181, allocations: 164.6 kB / 350.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.1811, allocations: 24.05 kB / 350.8 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.1818, allocations: 87.86 kB / 350.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.1821, allocations: 112.1 kB / 351 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.1822, allocations: 23.98 kB / 351.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.1826, allocations: 201.9 kB / 351.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1826, allocations: 0 / 351.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.1833, allocations: 132 kB / 351.4 MB, free: 12.99 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.0003834/0.1837, allocations: 151.1 kB / 351.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1856, allocations: 0.5928 MB / 352.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1856, allocations: 0 / 352.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009381/0.1865, allocations: 346.6 kB / 352.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.1874, allocations: 72.27 kB / 352.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.1932, allocations: 1.794 MB / 354.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.1937, allocations: 0.8243 MB / 355.2 MB, free: 9.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1939, allocations: 39.42 kB / 355.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of SimCode: time 1.874e-06/0.1939, allocations: 0 / 355.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Templates: time 0.01236/0.2063, allocations: 8.475 MB / 363.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++ 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_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