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.00133/0.00133, allocations: 107.8 kB / 17.81 MB, free: 5.559 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.00137/0.001371, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.746/1.746, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001326/0.001327, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 46.62 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004632/0.1444, allocations: 2.497 MB / 329.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1461, allocations: 0.761 MB / 330.5 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.1465, allocations: 4 kB / 330.5 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1468, allocations: 27.77 kB / 330.5 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.1472, allocations: 99.23 kB / 330.6 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.1477, allocations: 103.9 kB / 330.7 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.1483, allocations: 446.2 kB / 331.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1485, allocations: 81.31 kB / 331.2 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1488, allocations: 163.4 kB / 331.4 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.149, allocations: 195.2 kB / 331.6 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.1491, allocations: 24 kB / 331.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.1491, allocations: 24 kB / 331.6 MB, free: 480 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.1492, allocations: 63.8 kB / 331.7 MB, free: 416 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1494, allocations: 163.2 kB / 331.9 MB, free: 252 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.1498, allocations: 295.5 kB / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1498, allocations: 0 / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1498, allocations: 0 / 332.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1498, allocations: 0 / 332.2 MB, free: 15.96 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.001631/0.1515, allocations: 0.69 MB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1515, allocations: 8.031 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/0.1516, allocations: 36.56 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.152, allocations: 271.5 kB / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.1524, allocations: 140.2 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.1525, allocations: 27.91 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.1535, allocations: 375.2 kB / 333.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.1535, allocations: 7.984 kB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.1536, allocations: 12 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1536, allocations: 8 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1547, allocations: 391.5 kB / 334.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1562, allocations: 0.9735 MB / 335.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1572, allocations: 399.5 kB / 335.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.1578, allocations: 222.4 kB / 335.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1578, allocations: 8.422 kB / 335.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1579, allocations: 42.5 kB / 335.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/0.1579, allocations: 3.938 kB / 335.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=38): time 0.00472/0.1626, allocations: 2.312 MB / 338 MB, free: 9.582 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1627, allocations: 110.8 kB / 338.1 MB, free: 9.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.1629, allocations: 203.2 kB / 338.3 MB, free: 9.238 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.163, allocations: 33.7 kB / 338.4 MB, free: 9.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.1631, allocations: 148.6 kB / 338.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1632, allocations: 141.9 kB / 338.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.1634, allocations: 78.11 kB / 338.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1635, allocations: 338.8 kB / 339.1 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.1639, allocations: 104.8 kB / 339.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.1642, allocations: 165.4 kB / 339.3 MB, free: 8.203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.1649, allocations: 285 kB / 339.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1649, allocations: 0 / 339.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008696/0.1658, allocations: 378.9 kB / 340 MB, free: 7.531 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1658, allocations: 4.938 kB / 340 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1658, allocations: 4 kB / 340 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1659, allocations: 0 / 340 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.1666, allocations: 147.8 kB / 340.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.1666, allocations: 4 kB / 340.1 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.1669, allocations: 35.97 kB / 340.2 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1669, allocations: 16 kB / 340.2 MB, free: 7.324 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.0001948/0.1671, allocations: 141.8 kB / 340.3 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1672, allocations: 31.56 kB / 340.4 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.416e-05/0.1673, allocations: 37.52 kB / 340.4 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1673, allocations: 7.938 kB / 340.4 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.1674, allocations: 0 / 340.4 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1674, allocations: 0 / 340.4 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.1701, allocations: 1.328 MB / 341.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.1701, allocations: 0 / 341.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.1709, allocations: 172 kB / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.1709, allocations: 7.984 kB / 341.9 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/0.171, allocations: 15.92 kB / 341.9 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.171, allocations: 4 kB / 341.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.171, allocations: 4 kB / 341.9 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.173, allocations: 0.9516 MB / 342.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.1732, allocations: 124.8 kB / 343 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.1733, allocations: 15.94 kB / 343 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.1738, allocations: 43.94 kB / 343.1 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1739, allocations: 39.89 kB / 343.1 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.1739, allocations: 19.98 kB / 343.1 MB, free: 4.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1741, allocations: 148.6 kB / 343.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1741, allocations: 0 / 343.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.1747, allocations: 84 kB / 343.3 MB, free: 4.004 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.0002394/0.1749, allocations: 107.1 kB / 343.4 MB, free: 3.891 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.176, allocations: 369.5 kB / 343.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.176, allocations: 4 kB / 343.8 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.1767, allocations: 252.3 kB / 344.1 MB, free: 3.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008689/0.1776, allocations: 68.78 kB / 344.1 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.1828, allocations: 1.568 MB / 345.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1832, allocations: 0.7646 MB / 346.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1834, allocations: 39.42 kB / 346.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1834, allocations: 0 / 346.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of Templates: time 0.008268/0.1917, allocations: 3.857 MB / 350.4 MB, free: 12.9 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