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.0008878/0.0008879, allocations: 95.94 kB / 17.58 MB, free: 5.801 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.0009025/0.0009027, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.656/1.656, allocations: 205.4 MB / 224.6 MB, free: 13 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.000443/0.000443, allocations: 8 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 47.59 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.003562/0.1195, allocations: 2.533 MB / 331.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1215, allocations: 1.155 MB / 332.7 MB, free: 348 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1217, allocations: 8 kB / 332.7 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.122, allocations: 51.62 kB / 332.7 MB, free: 288 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1222, allocations: 107.2 kB / 332.8 MB, free: 180 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.1229, allocations: 335.3 kB / 333.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.1235, allocations: 0.6825 MB / 333.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1237, allocations: 81.42 kB / 333.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.1241, allocations: 319 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.1254, allocations: 1.424 MB / 335.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.1255, allocations: 36 kB / 335.7 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1257, allocations: 75.91 kB / 335.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.1259, allocations: 207.3 kB / 336 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1261, allocations: 125.3 kB / 336.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.1267, allocations: 0.6003 MB / 336.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1267, allocations: 0 / 336.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.1267, allocations: 0 / 336.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1267, allocations: 0 / 336.7 MB, free: 12.3 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.002999/0.1297, allocations: 1.313 MB / 338 MB, free: 10.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1298, allocations: 8.031 kB / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1299, allocations: 79.06 kB / 338.1 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.1305, allocations: 398.8 kB / 338.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.1305, allocations: 29 kB / 338.5 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.1306, allocations: 36 kB / 338.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.1324, allocations: 1.165 MB / 339.7 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1324, allocations: 15.78 kB / 339.7 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.1325, allocations: 12 kB / 339.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1325, allocations: 12 kB / 339.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.1351, allocations: 1.775 MB / 341.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.1391, allocations: 2.557 MB / 344.1 MB, free: 4.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.1406, allocations: 0.9343 MB / 345 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.1417, allocations: 0.7243 MB / 345.7 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.795e-05/0.1418, allocations: 11.92 kB / 345.7 MB, free: 3.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.1432, allocations: 0.92 MB / 346.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=47): time 2.995e-06/0.1432, allocations: 4 kB / 346.7 MB, free: 2.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.01062/0.1538, allocations: 6.04 MB / 352.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1539, allocations: 85.05 kB / 352.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1551, allocations: 0.918 MB / 353.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.1552, allocations: 41.7 kB / 353.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1555, allocations: 300.3 kB / 354 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.1556, allocations: 158 kB / 354.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1557, allocations: 12 kB / 354.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1559, allocations: 382.7 kB / 354.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.1571, allocations: 0.8642 MB / 355.5 MB, free: 9.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.1584, allocations: 0.948 MB / 356.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.1595, allocations: 0.7809 MB / 357.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1596, allocations: 0 / 357.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003598/0.1632, allocations: 2.486 MB / 359.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.1632, allocations: 4 kB / 359.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1632, allocations: 4 kB / 359.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/0.1653, allocations: 1.904 MB / 361.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.1658, allocations: 115.8 kB / 361.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.1735, allocations: 6.455 MB / 368.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.1748, allocations: 299.8 kB / 368.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.1749, allocations: 23.98 kB / 368.5 MB, free: 11.73 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,$whenCondition2,stop1.free,$PRE.stop1.startForward,stop1.startForward,$PRE.stop1.startBackward,stop1.startBackward,stop1.locked,$PRE.stop1.mode,stop1.mode,stop1.stopped,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,$whenCondition1,stop2.free,$PRE.stop2.startForward,stop2.startForward,$PRE.stop2.startBackward,stop2.startBackward,stop2.locked,$PRE.stop2.mode,stop2.mode,stop2.stopped) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.1753, allocations: 260 kB / 368.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1754, allocations: 67.16 kB / 368.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.1757, allocations: 110.1 kB / 368.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1757, allocations: 4 kB / 368.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1757, allocations: 0 / 368.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.1757, allocations: 3.984 kB / 368.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.1798, allocations: 3.138 MB / 372 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1798, allocations: 192 / 372 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.1802, allocations: 103.9 kB / 372.1 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.1822, allocations: 1.857 MB / 374 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.1823, allocations: 23.95 kB / 374 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2191/0.4013, allocations: 6.145 MB / 380.2 MB, free: 54.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4014, allocations: 1.375 kB / 380.2 MB, free: 54.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/0.407, allocations: 3.271 MB / 383.4 MB, free: 53.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/0.4076, allocations: 206.8 kB / 383.6 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.4077, allocations: 20.31 kB / 383.7 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.4095, allocations: 352.9 kB / 384 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001976/0.4115, allocations: 0.651 MB / 384.7 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/0.4116, allocations: 26.64 kB / 384.7 MB, free: 53.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.4126, allocations: 0.6727 MB / 385.4 MB, free: 53.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4126, allocations: 0 / 385.4 MB, free: 53.69 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009881/0.4136, allocations: 191.5 kB / 385.5 MB, free: 53.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003606/0.414, allocations: 147.7 kB / 385.7 MB, free: 53.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.4174, allocations: 1.955 MB / 387.6 MB, free: 53.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4174, allocations: 4.594 kB / 387.6 MB, free: 53.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.4191, allocations: 1.049 MB / 388.7 MB, free: 52.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.4198, allocations: 70.28 kB / 388.8 MB, free: 52.81 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.4238, allocations: 2.325 MB / 391.1 MB, free: 51.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.4242, allocations: 0.934 MB / 392 MB, free: 51.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4244, allocations: 33.09 kB / 392.1 MB, free: 51.07 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4244, allocations: 0 / 392.1 MB, free: 51.07 MB / 318.1 MB Notification: Performance of Templates: time 0.01519/0.4396, allocations: 13.62 MB / 405.7 MB, free: 39.51 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++ 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.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