Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") translateModel(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009031/0.0009031, allocations: 94.52 kB / 17.63 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.001074/0.001074, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 227.3 MB / 246.6 MB, free: 10.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 8 kB / 307.3 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 51.5 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque): time 0.00238/0.129, allocations: 1.896 MB / 360.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1302, allocations: 0.7211 MB / 361.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1304, allocations: 4 kB / 361.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.1305, allocations: 27.78 kB / 361.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1308, allocations: 67.45 kB / 361.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1311, allocations: 83.84 kB / 361.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1314, allocations: 274.7 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.1316, allocations: 48.69 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1317, allocations: 95.58 kB / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1319, allocations: 111.5 kB / 362.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1319, allocations: 12 kB / 362.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.1319, allocations: 16 kB / 362.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.132, allocations: 35.84 kB / 362.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.968e-05/0.1321, allocations: 69.58 kB / 362.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1323, allocations: 183.8 kB / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1323, allocations: 0 / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1323, allocations: 0 / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1323, allocations: 0 / 362.4 MB, free: 10.23 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007395/0.133, allocations: 0.4976 MB / 362.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1331, allocations: 11.97 kB / 362.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.652e-05/0.1332, allocations: 23.72 kB / 363 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1335, allocations: 246.6 kB / 363.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.1335, allocations: 16.44 kB / 363.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.1336, allocations: 31.89 kB / 363.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.134, allocations: 230.7 kB / 363.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1341, allocations: 11.84 kB / 363.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1341, allocations: 8 kB / 363.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1341, allocations: 4 kB / 363.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.1344, allocations: 147.8 kB / 363.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1359, allocations: 1.076 MB / 364.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.1364, allocations: 214.4 kB / 364.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1365, allocations: 67.48 kB / 365 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1365, allocations: 4 kB / 365 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1366, allocations: 42.5 kB / 365 MB, free: 7.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1366, allocations: 0 / 365 MB, free: 7.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005562/0.1372, allocations: 205.9 kB / 365.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.1373, allocations: 144.5 kB / 365.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1374, allocations: 184.1 kB / 365.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.1375, allocations: 33.7 kB / 365.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1376, allocations: 163.8 kB / 365.7 MB, free: 6.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.1377, allocations: 63.11 kB / 365.8 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1377, allocations: 4 kB / 365.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1378, allocations: 330.8 kB / 366.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.138, allocations: 59.97 kB / 366.2 MB, free: 6.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1383, allocations: 168.4 kB / 366.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1384, allocations: 75.98 kB / 366.4 MB, free: 5.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1384, allocations: 0 / 366.4 MB, free: 5.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000438/0.1389, allocations: 265.4 kB / 366.7 MB, free: 5.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1389, allocations: 8 kB / 366.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1389, allocations: 8 kB / 366.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.139, allocations: 7.984 kB / 366.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1392, allocations: 67.91 kB / 366.8 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1392, allocations: 11.94 kB / 366.8 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1394, allocations: 27.78 kB / 366.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1394, allocations: 16.16 kB / 366.8 MB, free: 5.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0001208/0.1395, allocations: 141.7 kB / 367 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.1396, allocations: 19.81 kB / 367 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.1397, allocations: 24.92 kB / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1397, allocations: 0 / 367 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1397, allocations: 4 kB / 367 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1397, allocations: 3.953 kB / 367 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.1402, allocations: 273.4 kB / 367.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1402, allocations: 4 kB / 367.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.1405, allocations: 55.97 kB / 367.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1405, allocations: 0 / 367.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1405, allocations: 4 kB / 367.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1405, allocations: 4 kB / 367.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1405, allocations: 11.86 kB / 367.4 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.1412, allocations: 0.5364 MB / 367.9 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1413, allocations: 88.92 kB / 368 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.1414, allocations: 11.98 kB / 368 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.1416, allocations: 8 kB / 368 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.1416, allocations: 15.98 kB / 368 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1417, allocations: 7.953 kB / 368 MB, free: 4.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1418, allocations: 147.2 kB / 368.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1418, allocations: 0 / 368.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.1423, allocations: 59.84 kB / 368.2 MB, free: 3.934 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,signTorque.phi,inertia2.w,linearSpeedDependentTorque.phi,inertia3.w,quadraticSpeedDependentTorque.phi,inertia4.w,inverseSpeedDependentTorque.phi) * 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 (16): * Single equations (assignments): 16 * 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.0001519/0.1424, allocations: 107.1 kB / 368.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.1428, allocations: 159.7 kB / 368.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1428, allocations: 0 / 368.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1429, allocations: 67.91 kB / 368.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.1436, allocations: 49.58 kB / 368.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1451, allocations: 1.045 MB / 369.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1455, allocations: 0.7443 MB / 370.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.1456, allocations: 23.44 kB / 370.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1456, allocations: 0 / 370.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of Templates: time 0.239/0.3846, allocations: 2.747 MB / 373.2 MB, free: 18.19 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorque.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.CompareBrakingTorqueCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorqueCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.CompareBrakingTorqueCalcHelperMain.o] Error 1