Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009049, allocations: 95.06 kB / 16.33 MB, free: 5.941 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.0009605/0.0009609, allocations: 185.3 kB / 17.22 MB, free: 5.883 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.685/1.685, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2353/0.2353, allocations: 43.57 MB / 315.2 MB, free: 0.5547 MB / 254.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.0005489/0.0005489, allocations: 11.03 kB / 384.5 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1287, allocations: 58.86 MB / 443.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002264/0.131, allocations: 2.272 MB / 445.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1322, allocations: 0.944 MB / 446.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1324, allocations: 8 kB / 446.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.1325, allocations: 35.69 kB / 446.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1326, allocations: 87.25 kB / 446.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.133, allocations: 119.7 kB / 446.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1333, allocations: 338.2 kB / 447.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1334, allocations: 73.95 kB / 447.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.531e-05/0.1336, allocations: 107.5 kB / 447.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1337, allocations: 131.5 kB / 447.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.1338, allocations: 16 kB / 447.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.1339, allocations: 27.94 kB / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.1339, allocations: 55.81 kB / 447.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.514e-05/0.134, allocations: 89.45 kB / 447.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1342, allocations: 259.2 kB / 447.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1342, allocations: 3.938 kB / 447.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1342, allocations: 0 / 447.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1342, allocations: 4 kB / 447.9 MB, free: 1.223 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0006658/0.1349, allocations: 0.538 MB / 448.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1349, allocations: 16.02 kB / 448.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.1351, allocations: 51.47 kB / 448.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1354, allocations: 258.6 kB / 448.8 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1354, allocations: 24.66 kB / 448.8 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.1354, allocations: 35.84 kB / 448.9 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1359, allocations: 298.7 kB / 449.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1359, allocations: 4 kB / 449.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.136, allocations: 12 kB / 449.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.136, allocations: 11.98 kB / 449.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.1363, allocations: 176.3 kB / 449.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.1382, allocations: 1.341 MB / 450.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.1386, allocations: 245 kB / 450.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1387, allocations: 84.27 kB / 451 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1387, allocations: 4 kB / 451 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1387, allocations: 42.5 kB / 451.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.1388, allocations: 0 / 451.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004607/0.1392, allocations: 217.4 kB / 451.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.1393, allocations: 162.2 kB / 451.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1395, allocations: 208.2 kB / 451.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1395, allocations: 29.7 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.1397, allocations: 192 kB / 451.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.1398, allocations: 94.78 kB / 451.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.1398, allocations: 7.938 kB / 452 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.14, allocations: 338.8 kB / 452.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1401, allocations: 59.97 kB / 452.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1404, allocations: 198.5 kB / 452.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.1405, allocations: 95.94 kB / 452.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1406, allocations: 4 kB / 452.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004744/0.141, allocations: 320.7 kB / 452.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1411, allocations: 12.45 kB / 453 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1411, allocations: 12 kB / 453 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1411, allocations: 4.188 kB / 453 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.1414, allocations: 87.91 kB / 453.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1414, allocations: 11.92 kB / 453.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1416, allocations: 39.59 kB / 453.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1416, allocations: 20 kB / 453.1 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.0001478/0.1418, allocations: 145.7 kB / 453.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1419, allocations: 23.77 kB / 453.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.1421, allocations: 91.08 kB / 453.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1421, allocations: 4 kB / 453.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1421, allocations: 4 kB / 453.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1421, allocations: 3.984 kB / 453.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.1427, allocations: 309.4 kB / 453.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1427, allocations: 0 / 453.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.143, allocations: 63.91 kB / 453.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.143, allocations: 4 kB / 453.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.143, allocations: 11.95 kB / 453.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.143, allocations: 3.984 kB / 453.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1431, allocations: 8 kB / 453.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.1436, allocations: 0.6256 MB / 454.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1436, allocations: 100.8 kB / 454.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1437, allocations: 8 kB / 454.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1439, allocations: 12.52 kB / 454.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.144, allocations: 15.98 kB / 454.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.144, allocations: 7.984 kB / 454.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1441, allocations: 149.6 kB / 454.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1441, allocations: 0 / 454.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000488/0.1446, allocations: 79.84 kB / 454.8 MB, free: 9.855 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.0001114/0.1447, allocations: 108.1 kB / 454.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.145, allocations: 179.8 kB / 455.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.145, allocations: 3.938 kB / 455.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1452, allocations: 81.39 kB / 455.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.1459, allocations: 70.72 kB / 455.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1478, allocations: 1.41 MB / 456.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1482, allocations: 0.7719 MB / 457.4 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.1483, allocations: 23.44 kB / 457.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1483, allocations: 0 / 457.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of Templates: time 0.005223/0.1535, allocations: 3.309 MB / 460.7 MB, free: 3.836 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.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 OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestBrakingCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.TestBrakingCalcHelperMain.o] Error 1