Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001272, allocations: 108.2 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.001552/0.001552, 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.775/1.775, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001562/0.001562, allocations: 48.25 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1482, allocations: 46.63 MB / 327.2 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.00585/0.1541, allocations: 2.465 MB / 329.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.156, allocations: 0.6165 MB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.1565, allocations: 4 kB / 330.3 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.1569, allocations: 31.72 kB / 330.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.1573, allocations: 67.45 kB / 330.4 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1577, allocations: 51.95 kB / 330.5 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1583, allocations: 286.7 kB / 330.8 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000265/0.1585, allocations: 91.48 kB / 330.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1588, allocations: 107.6 kB / 331 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1591, allocations: 115.5 kB / 331.1 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/0.1591, allocations: 16 kB / 331.1 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.59e-05/0.1592, allocations: 16 kB / 331.1 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.1593, allocations: 47.83 kB / 331.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1595, allocations: 131.3 kB / 331.3 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1599, allocations: 211.7 kB / 331.5 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1599, allocations: 7.938 kB / 331.5 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1599, allocations: 0 / 331.5 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.16, allocations: 0 / 331.5 MB, free: 0.6211 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001269/0.1612, allocations: 0.5382 MB / 332 MB, free: 36 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.1613, allocations: 8.031 kB / 332 MB, free: 28 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1615, allocations: 32.73 kB / 332.1 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.162, allocations: 240.5 kB / 332.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.162, allocations: 20.92 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.1622, allocations: 36.03 kB / 332.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.1628, allocations: 220.9 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1628, allocations: 4 kB / 332.6 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.1629, allocations: 8 kB / 332.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1629, allocations: 8 kB / 332.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.1634, allocations: 174.1 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.165, allocations: 0.7617 MB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.1656, allocations: 218.5 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.1659, allocations: 108.8 kB / 333.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1659, allocations: 4 kB / 333.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.166, allocations: 42.55 kB / 333.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.166, allocations: 0 / 333.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.002238/0.1682, allocations: 0.9573 MB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1683, allocations: 55.39 kB / 334.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1685, allocations: 159.8 kB / 335.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1685, allocations: 29.7 kB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1687, allocations: 144.5 kB / 335.2 MB, free: 12.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1688, allocations: 98.55 kB / 335.3 MB, free: 12.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.169, allocations: 49.7 kB / 335.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1692, allocations: 346.7 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1694, allocations: 67.97 kB / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1696, allocations: 115.2 kB / 335.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.17, allocations: 203.3 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1701, allocations: 0 / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006264/0.1707, allocations: 261.2 kB / 336.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.1707, allocations: 8 kB / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1707, allocations: 0 / 336.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.1708, allocations: 8.094 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.1711, allocations: 75.89 kB / 336.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.1711, allocations: 7.938 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.1713, allocations: 8 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.1713, allocations: 12 kB / 336.5 MB, free: 11.3 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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.0002931/0.1716, allocations: 153.6 kB / 336.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.1717, allocations: 15.81 kB / 336.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.1718, allocations: 26.56 kB / 336.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1718, allocations: 4 kB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.1718, allocations: 0 / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1718, allocations: 7.984 kB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.1731, allocations: 0.6404 MB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1731, allocations: 4.062 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.1735, allocations: 75.89 kB / 337.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.1735, allocations: 4 kB / 337.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.1735, allocations: 8 kB / 337.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1735, allocations: 3.938 kB / 337.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1735, allocations: 4 kB / 337.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/0.1744, allocations: 439.4 kB / 337.8 MB, free: 9.844 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1746, allocations: 96.81 kB / 337.9 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.1746, allocations: 8.062 kB / 337.9 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1748, allocations: 11.94 kB / 337.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.1748, allocations: 23.97 kB / 338 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1749, allocations: 8 kB / 338 MB, free: 9.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.175, allocations: 119.2 kB / 338.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.175, allocations: 0 / 338.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1754, allocations: 56 kB / 338.1 MB, free: 9.508 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,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 (28): * Single equations (assignments): 28 * 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.0002102/0.1756, allocations: 103.2 kB / 338.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.1762, allocations: 207.7 kB / 338.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1762, allocations: 4.188 kB / 338.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1764, allocations: 99.89 kB / 338.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.177, allocations: 39.97 kB / 338.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1789, allocations: 0.9438 MB / 339.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.1795, allocations: 0.7525 MB / 340.3 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.1796, allocations: 23.44 kB / 340.3 MB, free: 7.27 MB / 286.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1796, allocations: 0 / 340.3 MB, free: 7.27 MB / 286.1 MB Notification: Performance of Templates: time 0.007537/0.1872, allocations: 2.762 MB / 343.1 MB, free: 4.508 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.ElasticBearingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o] Error 1