Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001337/0.001337, allocations: 194 kB / 18.72 MB, free: 4.762 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.83/1.83, allocations: 205.1 MB / 224.6 MB, free: 12.45 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.00123/0.00123, allocations: 47.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 46.63 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.00442/0.1434, allocations: 3.014 MB / 330.3 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1459, allocations: 1.209 MB / 331.5 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1461, allocations: 7.938 kB / 331.5 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.1466, allocations: 51.62 kB / 331.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1468, allocations: 103.2 kB / 331.6 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.1477, allocations: 367.4 kB / 332 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007463/0.1484, allocations: 0.7606 MB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1486, allocations: 81.44 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.1491, allocations: 330.9 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.1506, allocations: 1.331 MB / 334.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.1507, allocations: 36 kB / 334.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.1509, allocations: 87.95 kB / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.1512, allocations: 204.2 kB / 334.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.1515, allocations: 322.1 kB / 335.1 MB, free: 13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.1521, allocations: 0.608 MB / 335.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.1521, allocations: 4 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1521, allocations: 3.938 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1521, allocations: 0 / 335.7 MB, free: 12.38 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003967/0.1561, allocations: 1.324 MB / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1562, allocations: 8.031 kB / 337.1 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.1564, allocations: 76 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.1569, allocations: 435.4 kB / 337.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.157, allocations: 29.38 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.1571, allocations: 36.38 kB / 337.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.159, allocations: 1.154 MB / 338.8 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1591, allocations: 3.938 kB / 338.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.1592, allocations: 16 kB / 338.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1592, allocations: 8 kB / 338.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.1619, allocations: 1.752 MB / 340.6 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.1663, allocations: 2.482 MB / 343 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.168, allocations: 0.9147 MB / 344 MB, free: 3.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.1691, allocations: 0.7123 MB / 344.7 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.1692, allocations: 7.984 kB / 344.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.1708, allocations: 0.9043 MB / 345.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.1708, allocations: 0 / 345.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.01174/0.1825, allocations: 5.786 MB / 351.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/0.1827, allocations: 81.11 kB / 351.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.1842, allocations: 0.9141 MB / 352.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.326e-05/0.1843, allocations: 49.69 kB / 352.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.1847, allocations: 292.3 kB / 352.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.1849, allocations: 169.9 kB / 352.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.1853, allocations: 122.2 kB / 353 MB, free: 10.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003519/0.1856, allocations: 378.8 kB / 353.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.1871, allocations: 0.8446 MB / 354.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.1886, allocations: 0.9363 MB / 355.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.1911, allocations: 1.461 MB / 356.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.1911, allocations: 3.938 kB / 356.6 MB, free: 7 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004095/0.1952, allocations: 2.494 MB / 359.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1952, allocations: 8 kB / 359.1 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1952, allocations: 4 kB / 359.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.1974, allocations: 1.896 MB / 361 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.1979, allocations: 115.8 kB / 361.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008375/0.2063, allocations: 6.365 MB / 367.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.2077, allocations: 227.7 kB / 367.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.2079, allocations: 20 kB / 367.7 MB, free: 11.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 28 (supportFriction.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,stop1.stopped,stop1.mode,$PRE.stop1.mode,stop1.locked,stop1.startBackward,$PRE.stop1.startBackward,stop1.startForward,$PRE.stop1.startForward,stop1.free,$whenCondition2,stop2.stopped,stop2.mode,$PRE.stop2.mode,stop2.locked,stop2.startBackward,$PRE.stop2.startBackward,stop2.startForward,$PRE.stop2.startForward,stop2.free,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005135/0.2084, allocations: 252 kB / 368 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.2086, allocations: 75.23 kB / 368 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.2088, allocations: 114.1 kB / 368.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.2088, allocations: 4 kB / 368.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.2088, allocations: 0 / 368.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.2088, allocations: 3.984 kB / 368.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.2136, allocations: 3.1 MB / 371.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.2136, allocations: 0 / 371.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.214, allocations: 83.94 kB / 371.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.2161, allocations: 1.873 MB / 373.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/0.2162, allocations: 19.97 kB / 373.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2491/0.4653, allocations: 6.078 MB / 379.3 MB, free: 55.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4654, allocations: 1.281 kB / 379.3 MB, free: 55.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/0.4715, allocations: 3.233 MB / 382.5 MB, free: 54.87 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.472, allocations: 210 kB / 382.7 MB, free: 54.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4721, allocations: 25.17 kB / 382.8 MB, free: 54.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.4738, allocations: 263.2 kB / 383 MB, free: 54.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001726/0.4756, allocations: 0.555 MB / 383.6 MB, free: 54.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.234e-05/0.4757, allocations: 26.16 kB / 383.6 MB, free: 54.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009655/0.4766, allocations: 0.6748 MB / 384.3 MB, free: 54.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4766, allocations: 0 / 384.3 MB, free: 54.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.4776, allocations: 183 kB / 384.5 MB, free: 54.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (stop2.s,stop2.v,stop1.s,stop1.v,mass.s,mass.v) * Number of discrete variables: 18 ($whenCondition1,stop2.free,stop2.startForward,stop2.startBackward,stop2.locked,stop2.mode,stop2.stopped,$whenCondition2,stop1.free,stop1.startForward,stop1.startBackward,stop1.locked,stop1.mode,stop1.stopped,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode) * Number of discrete states: 9 (supportFriction.mode,supportFriction.startForward,supportFriction.startBackward,stop1.mode,stop1.startBackward,stop1.startForward,stop2.mode,stop2.startBackward,stop2.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000334/0.4779, allocations: 158.3 kB / 384.6 MB, free: 54.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00349/0.4814, allocations: 1.917 MB / 386.5 MB, free: 53.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4814, allocations: 4.875 kB / 386.5 MB, free: 53.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.4831, allocations: 1.039 MB / 387.6 MB, free: 53.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.4839, allocations: 74.78 kB / 387.6 MB, free: 53.47 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.4883, allocations: 2.218 MB / 389.9 MB, free: 52.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.4888, allocations: 0.9233 MB / 390.8 MB, free: 51.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.489, allocations: 40.28 kB / 390.8 MB, free: 51.73 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.489, allocations: 0 / 390.8 MB, free: 51.73 MB / 318.1 MB Notification: Performance of Templates: time 0.01598/0.505, allocations: 13.69 MB / 404.5 MB, free: 40.48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.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.Translational.Examples.FrictionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.FrictionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.FrictionCalcHelperMain.o] Error 1