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.0009211/0.0009214, allocations: 88.34 kB / 17.58 MB, free: 5.789 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.0008852/0.0008852, allocations: 189.7 kB / 18.48 MB, free: 5.23 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.748/1.748, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004735/0.0004736, allocations: 15.98 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003031/0.1263, allocations: 2.034 MB / 331 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1278, allocations: 0.5933 MB / 331.6 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.1281, allocations: 4 kB / 331.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1284, allocations: 27.78 kB / 331.6 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1287, allocations: 63.45 kB / 331.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.129, allocations: 47.94 kB / 331.7 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.1295, allocations: 278.7 kB / 332 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1298, allocations: 93.69 kB / 332.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1301, allocations: 91.64 kB / 332.2 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1303, allocations: 103.5 kB / 332.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.1304, allocations: 12 kB / 332.3 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.1304, allocations: 12 kB / 332.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.1305, allocations: 43.83 kB / 332.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.1306, allocations: 69.58 kB / 332.4 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1308, allocations: 211.6 kB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1308, allocations: 7.938 kB / 332.6 MB, free: 392 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1308, allocations: 0 / 332.6 MB, free: 392 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1309, allocations: 0 / 332.6 MB, free: 392 kB / 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.0008721/0.1317, allocations: 0.5029 MB / 333.1 MB, free: 15.83 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1318, allocations: 16.03 kB / 333.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.1319, allocations: 27.62 kB / 333.2 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1322, allocations: 235.2 kB / 333.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1323, allocations: 24.5 kB / 333.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.1324, allocations: 28 kB / 333.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.1329, allocations: 224.9 kB / 333.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.1329, allocations: 4 kB / 333.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.133, allocations: 16 kB / 333.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.133, allocations: 4 kB / 333.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.1334, allocations: 186.1 kB / 333.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.1348, allocations: 0.7695 MB / 334.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.1354, allocations: 214.8 kB / 334.9 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.1357, allocations: 136.3 kB / 335 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1358, allocations: 4 kB / 335 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1358, allocations: 30.56 kB / 335 MB, free: 13.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1358, allocations: 0 / 335 MB, free: 13.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001929/0.1377, allocations: 0.9928 MB / 336 MB, free: 12.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1378, allocations: 51.41 kB / 336.1 MB, free: 12.67 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.138, allocations: 159.8 kB / 336.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1381, allocations: 29.7 kB / 336.3 MB, free: 12.47 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1382, allocations: 140.6 kB / 336.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1383, allocations: 106.5 kB / 336.5 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.1383, allocations: 8 kB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1385, allocations: 330.8 kB / 336.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1387, allocations: 75.95 kB / 336.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.1389, allocations: 119.2 kB / 337 MB, free: 11.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.1392, allocations: 91.97 kB / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1392, allocations: 0 / 337.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005002/0.1397, allocations: 281.2 kB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1397, allocations: 7.938 kB / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1397, allocations: 0 / 337.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1398, allocations: 4 kB / 337.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.14, allocations: 79.89 kB / 337.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.14, allocations: 12.03 kB / 337.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1402, allocations: 15.98 kB / 337.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1402, allocations: 8 kB / 337.5 MB, free: 11.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.1404, allocations: 141.7 kB / 337.7 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1404, allocations: 23.77 kB / 337.7 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.015e-05/0.1405, allocations: 22.56 kB / 337.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1405, allocations: 4 kB / 337.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1405, allocations: 4 kB / 337.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.1405, allocations: 3.984 kB / 337.7 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1416, allocations: 0.6599 MB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1416, allocations: 4 kB / 338.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.1419, allocations: 75.89 kB / 338.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.142, allocations: 4 kB / 338.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.142, allocations: 8 kB / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.142, allocations: 0 / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.142, allocations: 0 / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006954/0.1427, allocations: 471.3 kB / 338.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.1428, allocations: 88.92 kB / 339 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1428, allocations: 8.062 kB / 339 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.143, allocations: 15.98 kB / 339 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.143, allocations: 11.98 kB / 339.1 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.143, allocations: 11.98 kB / 339.1 MB, free: 9.531 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.1432, allocations: 119.2 kB / 339.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1433, allocations: 4 kB / 339.2 MB, free: 9.41 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000311/0.1436, allocations: 56 kB / 339.2 MB, free: 9.355 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 (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.0001367/0.1437, allocations: 103.2 kB / 339.3 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.1442, allocations: 215.8 kB / 339.5 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1442, allocations: 0 / 339.5 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.1444, allocations: 107.9 kB / 339.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1448, allocations: 39.88 kB / 339.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1464, allocations: 1.029 MB / 340.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1468, allocations: 0.7525 MB / 341.5 MB, free: 7.043 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1469, allocations: 19.44 kB / 341.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1469, allocations: 4 kB / 341.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of Templates: time 0.005182/0.1521, allocations: 2.705 MB / 344.2 MB, free: 4.312 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++ 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.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