Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.001472/0.001472, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.928/1.928, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006012/0.0006016, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.00346/0.1389, allocations: 2.132 MB / 331.7 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1408, allocations: 0.7533 MB / 332.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.1412, allocations: 7.938 kB / 332.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1415, allocations: 27.78 kB / 332.5 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.1419, allocations: 91.28 kB / 332.6 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.1425, allocations: 115.8 kB / 332.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1432, allocations: 442.2 kB / 333.2 MB, free: 180 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.1435, allocations: 77.3 kB / 333.2 MB, free: 100 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004533/0.144, allocations: 155.5 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.1443, allocations: 191.3 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.728e-05/0.1444, allocations: 20 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.1445, allocations: 20 kB / 333.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.1446, allocations: 63.73 kB / 333.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.1449, allocations: 192.9 kB / 333.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1453, allocations: 291.5 kB / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1453, allocations: 0 / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1453, allocations: 0 / 334.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1453, allocations: 0 / 334.2 MB, free: 15.18 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00178/0.1471, allocations: 0.6823 MB / 334.8 MB, free: 14.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.1472, allocations: 8.031 kB / 334.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1474, allocations: 36.56 kB / 334.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.1478, allocations: 263.6 kB / 335.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/0.1482, allocations: 140.2 kB / 335.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.1483, allocations: 31.98 kB / 335.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1493, allocations: 407.2 kB / 335.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.1494, allocations: 15.89 kB / 335.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.1494, allocations: 8 kB / 335.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1494, allocations: 8 kB / 335.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.1508, allocations: 459.5 kB / 336.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.1523, allocations: 0.9813 MB / 337.2 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1535, allocations: 451.6 kB / 337.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/0.1542, allocations: 246.4 kB / 337.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1542, allocations: 15.92 kB / 337.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1543, allocations: 38.56 kB / 337.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1543, allocations: 0 / 337.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.005564/0.1598, allocations: 2.512 MB / 340.4 MB, free: 8.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.1599, allocations: 110.8 kB / 340.5 MB, free: 8.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1602, allocations: 203.2 kB / 340.7 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1602, allocations: 33.7 kB / 340.8 MB, free: 8.047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1604, allocations: 148.6 kB / 340.9 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1605, allocations: 137.9 kB / 341 MB, free: 7.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.1606, allocations: 45.69 kB / 341.1 MB, free: 7.711 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1607, allocations: 334.8 kB / 341.4 MB, free: 7.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.1611, allocations: 112.8 kB / 341.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.1615, allocations: 173.4 kB / 341.7 MB, free: 7.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.1622, allocations: 300.9 kB / 342 MB, free: 6.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1622, allocations: 0 / 342 MB, free: 6.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008863/0.1631, allocations: 386.1 kB / 342.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.1631, allocations: 4 kB / 342.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1632, allocations: 4 kB / 342.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1632, allocations: 4 kB / 342.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.1639, allocations: 167.9 kB / 342.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.164, allocations: 4 kB / 342.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.1642, allocations: 31.98 kB / 342.6 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.1643, allocations: 12.94 kB / 342.6 MB, free: 6.156 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1644, allocations: 153.7 kB / 342.7 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1645, allocations: 27.66 kB / 342.8 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/0.1646, allocations: 29.52 kB / 342.8 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.1647, allocations: 8 kB / 342.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1647, allocations: 0 / 342.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1647, allocations: 0 / 342.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.1673, allocations: 1.397 MB / 344.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1673, allocations: 4 kB / 344.2 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.1682, allocations: 208 kB / 344.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.1683, allocations: 4 kB / 344.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.1683, allocations: 11.94 kB / 344.4 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.1683, allocations: 11.92 kB / 344.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1683, allocations: 0 / 344.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.1706, allocations: 1.061 MB / 345.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.1708, allocations: 124.8 kB / 345.6 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.1708, allocations: 15.94 kB / 345.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.1713, allocations: 63.94 kB / 345.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.1715, allocations: 31.95 kB / 345.7 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.1715, allocations: 19.98 kB / 345.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1716, allocations: 148.6 kB / 345.9 MB, free: 2.691 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1717, allocations: 4 kB / 345.9 MB, free: 2.688 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.1721, allocations: 80 kB / 346 MB, free: 2.609 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.1723, allocations: 115.1 kB / 346.1 MB, free: 2.488 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1734, allocations: 395.2 kB / 346.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1734, allocations: 192 / 346.5 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.1742, allocations: 288 kB / 346.7 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.175, allocations: 69.23 kB / 346.8 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.1805, allocations: 1.805 MB / 348.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.1811, allocations: 0.7685 MB / 349.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.1812, allocations: 35.42 kB / 349.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1812, allocations: 0 / 349.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.008276/0.1895, allocations: 3.814 MB / 353.2 MB, free: 11.25 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Backlash.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.Rotational.Examples.BacklashCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.BacklashCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.BacklashCalcHelperMain.o] Error 1