Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 94.66 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 198 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 7.984 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003364/0.1346, allocations: 2.046 MB / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1361, allocations: 0.5925 MB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.1364, allocations: 4 kB / 361.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.1366, allocations: 27.77 kB / 361.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1368, allocations: 63.47 kB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1371, allocations: 51.94 kB / 361.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.1374, allocations: 270.7 kB / 361.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1377, allocations: 89.73 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1379, allocations: 87.66 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1381, allocations: 107.5 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.1381, allocations: 12 kB / 362.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.1382, allocations: 12 kB / 362.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.1382, allocations: 39.84 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1383, allocations: 73.58 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.1386, allocations: 215.6 kB / 362.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.1386, allocations: 3.984 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1386, allocations: 0 / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1386, allocations: 0 / 362.5 MB, free: 10.43 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000925/0.1396, allocations: 0.5067 MB / 363 MB, free: 9.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1396, allocations: 12.03 kB / 363 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.1397, allocations: 23.72 kB / 363 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.14, allocations: 234.2 kB / 363.2 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.1401, allocations: 20.56 kB / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.1402, allocations: 31.89 kB / 363.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.1407, allocations: 236.8 kB / 363.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1407, allocations: 7.844 kB / 363.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1408, allocations: 12 kB / 363.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1408, allocations: 7.984 kB / 363.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.1412, allocations: 186.1 kB / 363.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1426, allocations: 0.7695 MB / 364.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.1432, allocations: 221.5 kB / 364.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.1434, allocations: 117.9 kB / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1435, allocations: 4 kB / 364.8 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1435, allocations: 38.5 kB / 364.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/0.1435, allocations: 0 / 364.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002015/0.1455, allocations: 0.9967 MB / 365.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1456, allocations: 51.41 kB / 365.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1458, allocations: 159.1 kB / 366.1 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1458, allocations: 29.7 kB / 366.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.146, allocations: 148.6 kB / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.1461, allocations: 106.4 kB / 366.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.1461, allocations: 4 kB / 366.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1464, allocations: 326.8 kB / 366.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1466, allocations: 83.81 kB / 366.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1468, allocations: 123.3 kB / 366.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.147, allocations: 87.98 kB / 367 MB, free: 5.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.147, allocations: 0 / 367 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005169/0.1476, allocations: 265.4 kB / 367.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1476, allocations: 4 kB / 367.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1477, allocations: 7.953 kB / 367.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1477, allocations: 4 kB / 367.2 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.148, allocations: 79.98 kB / 367.3 MB, free: 5.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.148, allocations: 4 kB / 367.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.1482, allocations: 15.98 kB / 367.3 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.1482, allocations: 12 kB / 367.3 MB, free: 5.227 MB / 302.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.0001703/0.1484, allocations: 133.8 kB / 367.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.1484, allocations: 19.81 kB / 367.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.039e-05/0.1485, allocations: 30.55 kB / 367.5 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1485, allocations: 11.89 kB / 367.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.1486, allocations: 0 / 367.5 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1486, allocations: 3.938 kB / 367.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1497, allocations: 0.6638 MB / 368.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1497, allocations: 0 / 368.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.15, allocations: 71.84 kB / 368.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.15, allocations: 4 kB / 368.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.1501, allocations: 8 kB / 368.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.1501, allocations: 3.984 kB / 368.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1501, allocations: 4.062 kB / 368.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007071/0.1508, allocations: 457.3 kB / 368.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.1509, allocations: 92.94 kB / 368.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1509, allocations: 8 kB / 368.8 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.1511, allocations: 15.98 kB / 368.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1511, allocations: 19.97 kB / 368.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1512, allocations: 8 kB / 368.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.42e-05/0.1513, allocations: 120.4 kB / 369 MB, free: 3.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1513, allocations: 0 / 369 MB, free: 3.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.1516, allocations: 56 kB / 369.1 MB, free: 3.406 MB / 302.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.0001769/0.1518, allocations: 103.2 kB / 369.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.1523, allocations: 215.8 kB / 369.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1523, allocations: 0 / 369.4 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1525, allocations: 112.9 kB / 369.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.153, allocations: 40.28 kB / 369.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1548, allocations: 1.026 MB / 370.5 MB, free: 1.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1553, allocations: 0.7525 MB / 371.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.1553, allocations: 23.44 kB / 371.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1553, allocations: 0 / 371.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of Templates: time 0.2445/0.3998, allocations: 2.716 MB / 374 MB, free: 19.22 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o] Error 1