Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction") translateModel(ModelicaTest.Rotational.TestFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clutch.phi_rel|clutch.w_rel|inertia.phi|inertia.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia5.phi|inertia5.w|oneWayClutch.phi_rel|oneWayClutch.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|oneWayClutch.startForward|oneWayClutch.stuck",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 91.55 kB / 17.63 MB, free: 6.137 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.00183/0.00183, allocations: 185.2 kB / 18.52 MB, free: 5.297 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.731/1.731, allocations: 223.2 MB / 242.5 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.23 MB / 337.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 8.875 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1512, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestFriction): time 0.004552/0.1558, allocations: 3.367 MB / 475.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1583, allocations: 1.196 MB / 476.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.1585, allocations: 8 kB / 476.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1588, allocations: 79.34 kB / 476.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.1592, allocations: 182.6 kB / 477 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.1599, allocations: 255.6 kB / 477.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1609, allocations: 0.9054 MB / 478.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1612, allocations: 144.9 kB / 478.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.1617, allocations: 394.6 kB / 478.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.1622, allocations: 438.4 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.1623, allocations: 40 kB / 479.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1625, allocations: 79.91 kB / 479.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.1627, allocations: 159.4 kB / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1629, allocations: 145.3 kB / 479.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.1636, allocations: 0.6469 MB / 480.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1636, allocations: 0 / 480.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1636, allocations: 0 / 480.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1636, allocations: 4 kB / 480.2 MB, free: 5.691 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001894/0.1655, allocations: 0.9975 MB / 481.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1656, allocations: 8.031 kB / 481.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1657, allocations: 79.06 kB / 481.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.1663, allocations: 416.8 kB / 481.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.1663, allocations: 49.31 kB / 481.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1665, allocations: 63.91 kB / 481.8 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.168, allocations: 0.8374 MB / 482.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.1681, allocations: 7.906 kB / 482.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.1682, allocations: 24 kB / 482.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1682, allocations: 16 kB / 482.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.1697, allocations: 0.786 MB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.174, allocations: 2.636 MB / 486.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1754, allocations: 0.6427 MB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007148/0.1762, allocations: 395.9 kB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.1762, allocations: 12.38 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1763, allocations: 47.67 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.1763, allocations: 3.938 kB / 487.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=76): time 0.007458/0.1838, allocations: 3.733 MB / 490.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.1839, allocations: 136.5 kB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.1844, allocations: 421.8 kB / 491.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.1845, allocations: 53.69 kB / 491.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.1848, allocations: 284.3 kB / 491.8 MB, free: 9.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.185, allocations: 268.4 kB / 492 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.1851, allocations: 20 kB / 492.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1853, allocations: 366.8 kB / 492.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.186, allocations: 401.8 kB / 492.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/0.187, allocations: 0.5569 MB / 493.4 MB, free: 7.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.1877, allocations: 349.9 kB / 493.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1877, allocations: 0 / 493.7 MB, free: 7.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002533/0.1902, allocations: 1.289 MB / 495 MB, free: 6.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1902, allocations: 4 kB / 495 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1903, allocations: 4 kB / 495 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.1917, allocations: 0.7568 MB / 495.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.1923, allocations: 159.7 kB / 495.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.1948, allocations: 2.686 MB / 498.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008995/0.1957, allocations: 203.8 kB / 498.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.1958, allocations: 39.98 kB / 498.8 MB, free: 2.203 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free,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,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 87 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.1962, allocations: 221.2 kB / 499.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1963, allocations: 59.34 kB / 499.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.1965, allocations: 83.91 kB / 499.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1966, allocations: 12 kB / 499.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.1966, allocations: 4 kB / 499.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1966, allocations: 3.984 kB / 499.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/0.2006, allocations: 2.2 MB / 0.4897 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.2006, allocations: 0 / 0.4897 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.2012, allocations: 119.9 kB / 0.4898 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.2024, allocations: 0.7215 MB / 0.4905 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.2025, allocations: 35.95 kB / 0.4905 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.2052, allocations: 2.635 MB / 0.4931 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2053, allocations: 0 / 0.4931 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.2087, allocations: 1.818 MB / 0.4949 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.2091, allocations: 216.2 kB / 0.4951 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2092, allocations: 31.98 kB / 0.4951 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/0.21, allocations: 171.8 kB / 0.4953 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003502/0.2104, allocations: 171.6 kB / 0.4954 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.2105, allocations: 39.91 kB / 0.4955 GB, free: 9.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003693/0.2108, allocations: 287.1 kB / 0.4957 GB, free: 9.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2108, allocations: 0 / 0.4957 GB, free: 9.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.2117, allocations: 200 kB / 0.4959 GB, free: 8.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (inertia4.phi,inertia4.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,inertia2.phi,inertia2.w,clutch.phi_rel,clutch.w_rel,inertia1.w,brake.phi,inertia.w,bearingFriction.phi) * Number of discrete variables: 18 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 11 (bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake.mode,brake.startForward,brake.startBackward,clutch.mode,clutch.startForward,clutch.startBackward,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 6,1 7,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000301/0.212, allocations: 160.4 kB / 0.4961 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.2142, allocations: 0.9671 MB / 0.497 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2142, allocations: 0 / 0.497 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.2153, allocations: 0.5096 MB / 0.4975 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009194/0.2163, allocations: 101.1 kB / 0.4976 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.2214, allocations: 2.61 MB / 0.5002 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.222, allocations: 0.9066 MB / 0.5011 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2222, allocations: 47.41 kB / 0.5011 GB, free: 3.586 MB / 382.1 MB Notification: Performance of SimCode: time 2.424e-06/0.2222, allocations: 0 / 0.5011 GB, free: 3.586 MB / 382.1 MB Notification: Performance of Templates: time 0.2856/0.5078, allocations: 17.07 MB / 0.5178 GB, free: 44.12 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestFriction.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 OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestFrictionCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestFrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Rotational.TestFrictionCalcHelperMain.o] Error 1