Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001077/0.001077, allocations: 92.98 kB / 16.95 MB, free: 5.66 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.001414/0.001414, allocations: 183 kB / 17.85 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.2 MB / 241.8 MB, free: 140 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002605, allocations: 4.719 kB / 301.5 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1162, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002838/0.1191, allocations: 2.039 MB / 353.9 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1207, allocations: 0.6981 MB / 354.6 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.1211, allocations: 4 kB / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.1213, allocations: 27.72 kB / 354.6 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1218, allocations: 91.3 kB / 354.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.1223, allocations: 99.12 kB / 354.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.1229, allocations: 418.2 kB / 355.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1231, allocations: 72.95 kB / 355.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003933/0.1235, allocations: 159.5 kB / 355.5 MB, free: 424 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.1239, allocations: 183.3 kB / 355.6 MB, free: 240 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.124, allocations: 20 kB / 355.7 MB, free: 220 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.124, allocations: 24 kB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.1241, allocations: 71.78 kB / 355.8 MB, free: 124 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1242, allocations: 77.52 kB / 355.8 MB, free: 40 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1246, allocations: 287.5 kB / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1246, allocations: 0 / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1246, allocations: 0 / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1247, allocations: 0 / 356.1 MB, free: 15.76 MB / 302.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.001673/0.1263, allocations: 0.6745 MB / 356.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.1264, allocations: 12.03 kB / 356.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1266, allocations: 35.58 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.127, allocations: 262.4 kB / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.1274, allocations: 131.9 kB / 357.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.1275, allocations: 31.98 kB / 357.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1285, allocations: 408 kB / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.1286, allocations: 11.89 kB / 357.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1286, allocations: 11.95 kB / 357.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1286, allocations: 8 kB / 357.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.1299, allocations: 456.7 kB / 358.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1315, allocations: 0.967 MB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1326, allocations: 459.6 kB / 359.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.1332, allocations: 254.4 kB / 359.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1332, allocations: 4 kB / 359.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.1333, allocations: 38.56 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.405e-06/0.1333, allocations: 0 / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=38): time 0.00518/0.1385, allocations: 2.5 MB / 362.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.1386, allocations: 115.8 kB / 362.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1389, allocations: 203.2 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.139, allocations: 29.7 kB / 362.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1391, allocations: 148.6 kB / 362.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.1393, allocations: 141.9 kB / 363 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.1393, allocations: 4 kB / 363 MB, free: 8.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.1395, allocations: 346.8 kB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.1398, allocations: 112.8 kB / 363.4 MB, free: 7.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.1402, allocations: 169.5 kB / 363.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.1406, allocations: 134.4 kB / 363.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1406, allocations: 3.938 kB / 363.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008903/0.1415, allocations: 381 kB / 364.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1415, allocations: 4 kB / 364.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.1415, allocations: 7.984 kB / 364.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1416, allocations: 0 / 364.1 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.1423, allocations: 167.9 kB / 364.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.1423, allocations: 4 kB / 364.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.1425, allocations: 31.98 kB / 364.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.1426, allocations: 12 kB / 364.3 MB, free: 7.008 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.1428, allocations: 149.7 kB / 364.4 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1429, allocations: 27.72 kB / 364.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.143, allocations: 33.52 kB / 364.5 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.143, allocations: 4 kB / 364.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.1431, allocations: 7.938 kB / 364.5 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.1431, allocations: 7.984 kB / 364.5 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.1456, allocations: 1.405 MB / 365.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1456, allocations: 0 / 365.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.1464, allocations: 204 kB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1465, allocations: 4 kB / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.1465, allocations: 11.98 kB / 366.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1465, allocations: 7.938 kB / 366.2 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1465, allocations: 4 kB / 366.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.1485, allocations: 1.038 MB / 367.2 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.1486, allocations: 132.7 kB / 367.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.1487, allocations: 15.98 kB / 367.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.1491, allocations: 63.94 kB / 367.4 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.1492, allocations: 35.94 kB / 367.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.1492, allocations: 23.98 kB / 367.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.1494, allocations: 152.6 kB / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1494, allocations: 0 / 367.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.1499, allocations: 80 kB / 367.7 MB, free: 3.457 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.15, allocations: 111.1 kB / 367.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009396/0.151, allocations: 407.5 kB / 368.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.151, allocations: 4.094 kB / 368.2 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.1517, allocations: 284.3 kB / 368.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.1524, allocations: 71.7 kB / 368.5 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.1573, allocations: 1.774 MB / 370.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.237/0.3943, allocations: 0.7658 MB / 371.1 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.3946, allocations: 31.73 kB / 371.1 MB, free: 24.72 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3946, allocations: 0 / 371.1 MB, free: 24.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01093/0.4056, allocations: 3.796 MB / 374.9 MB, free: 24.56 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash.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_4.0.0_Modelica.Mechanics.Rotational.Examples.BacklashCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.BacklashCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.BacklashCalcHelperMain.o] Error 1