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.0009633/0.0009634, allocations: 101 kB / 17.96 MB, free: 5.766 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.001149/0.001149, allocations: 177.1 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005241/0.0005241, allocations: 10.81 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003487/0.1311, allocations: 2.637 MB / 332.2 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1335, allocations: 1.194 MB / 333.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.1337, allocations: 4 kB / 333.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.1342, allocations: 59.61 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1344, allocations: 107.2 kB / 333.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.1354, allocations: 363.4 kB / 334 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.1362, allocations: 0.7567 MB / 334.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.1364, allocations: 81.44 kB / 334.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.1369, allocations: 326.9 kB / 335.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.1384, allocations: 1.324 MB / 336.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.807e-05/0.1385, allocations: 36 kB / 336.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.1388, allocations: 87.89 kB / 336.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.139, allocations: 204.2 kB / 336.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.1393, allocations: 339.8 kB / 337.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006298/0.14, allocations: 0.6001 MB / 337.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.14, allocations: 0 / 337.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.14, allocations: 0 / 337.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.14, allocations: 3.938 kB / 337.7 MB, free: 11.61 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.003744/0.1438, allocations: 1.305 MB / 339 MB, free: 10.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1438, allocations: 12.03 kB / 339 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.144, allocations: 80.09 kB / 339.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.1446, allocations: 427.4 kB / 339.5 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.1447, allocations: 29.38 kB / 339.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1448, allocations: 36.28 kB / 339.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.1469, allocations: 1.181 MB / 340.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.147, allocations: 0 / 340.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.147, allocations: 16 kB / 340.8 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1471, allocations: 11.98 kB / 340.8 MB, free: 8.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.1498, allocations: 1.775 MB / 342.6 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.1544, allocations: 2.56 MB / 345.1 MB, free: 4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.1561, allocations: 0.942 MB / 346.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.1573, allocations: 0.728 MB / 346.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.1573, allocations: 7.984 kB / 346.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.1589, allocations: 0.9201 MB / 347.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of pre-optimization done (n=47): time 1.874e-06/0.1589, allocations: 4 kB / 347.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.01203/0.171, allocations: 6.033 MB / 353.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.1711, allocations: 85.11 kB / 353.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.1723, allocations: 0.918 MB / 354.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1725, allocations: 45.7 kB / 354.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.1727, allocations: 292.3 kB / 355.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.1729, allocations: 165.9 kB / 355.2 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.1731, allocations: 57.69 kB / 355.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1733, allocations: 382.7 kB / 355.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.1746, allocations: 0.8642 MB / 356.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.176, allocations: 0.9519 MB / 357.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.1783, allocations: 1.492 MB / 359 MB, free: 5.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1783, allocations: 0 / 359 MB, free: 5.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003934/0.1822, allocations: 2.533 MB / 361.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.1823, allocations: 7.281 kB / 361.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1823, allocations: 8.031 kB / 361.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.1844, allocations: 1.9 MB / 363.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.185, allocations: 119.8 kB / 363.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.1937, allocations: 6.454 MB / 370 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.1954, allocations: 303.7 kB / 370.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.1955, allocations: 27.98 kB / 370.3 MB, free: 10.15 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.0006799/0.1962, allocations: 256.1 kB / 370.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.1963, allocations: 67.16 kB / 370.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.1967, allocations: 110.1 kB / 370.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1967, allocations: 4 kB / 370.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1968, allocations: 0 / 370.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1968, allocations: 7.984 kB / 370.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.2017, allocations: 3.131 MB / 373.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2017, allocations: 4 kB / 373.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.2022, allocations: 95.92 kB / 374 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.2044, allocations: 1.865 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.2045, allocations: 27.95 kB / 375.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2701/0.4746, allocations: 6.142 MB / 382 MB, free: 53.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4746, allocations: 1.469 kB / 382 MB, free: 53.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/0.4807, allocations: 3.28 MB / 385.3 MB, free: 53.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.4811, allocations: 207.6 kB / 385.5 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4812, allocations: 25.31 kB / 385.5 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.4831, allocations: 349.9 kB / 385.9 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/0.4847, allocations: 0.5472 MB / 386.4 MB, free: 53.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.4848, allocations: 30.95 kB / 386.4 MB, free: 53.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00101/0.4859, allocations: 0.6743 MB / 387.1 MB, free: 53.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4859, allocations: 0 / 387.1 MB, free: 53.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009586/0.4868, allocations: 185.1 kB / 387.3 MB, free: 53.03 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.0003174/0.4872, allocations: 154.6 kB / 387.5 MB, free: 52.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.4909, allocations: 1.953 MB / 389.4 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4909, allocations: 0 / 389.4 MB, free: 52.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.4925, allocations: 1.058 MB / 390.5 MB, free: 51.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.4933, allocations: 67.66 kB / 390.5 MB, free: 51.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.4983, allocations: 2.415 MB / 392.9 MB, free: 50.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.499, allocations: 0.9244 MB / 393.9 MB, free: 50.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4991, allocations: 33.69 kB / 393.9 MB, free: 50.1 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4992, allocations: 0 / 393.9 MB, free: 50.1 MB / 318.1 MB Notification: Performance of Templates: time 0.01611/0.5153, allocations: 13.59 MB / 407.5 MB, free: 38.18 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