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.001591/0.001591, allocations: 108 kB / 16.52 MB, free: 6.672 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.001513/0.001513, allocations: 198.7 kB / 17.44 MB, free: 6.059 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.836/1.836, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.2588/0.2588, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001703/0.001703, allocations: 64.92 kB / 382.7 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1579, allocations: 57.79 MB / 440.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004241/0.1622, allocations: 2.738 MB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.164, allocations: 0.9824 MB / 444.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1641, allocations: 8 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1643, allocations: 43.64 kB / 444.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.1646, allocations: 87.3 kB / 444.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.165, allocations: 123.7 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.1653, allocations: 358.3 kB / 444.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1656, allocations: 73.97 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1657, allocations: 123.5 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1658, allocations: 143.3 kB / 445.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.1659, allocations: 16 kB / 445.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.166, allocations: 32 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.1661, allocations: 55.75 kB / 445.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1662, allocations: 151.2 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1665, allocations: 263.3 kB / 445.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1665, allocations: 4 kB / 445.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1665, allocations: 3.938 kB / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1665, allocations: 0 / 445.6 MB, free: 2.312 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.0009662/0.1675, allocations: 0.5927 MB / 446.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.1675, allocations: 8.031 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.1678, allocations: 56.53 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.1681, allocations: 271.6 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1681, allocations: 21.03 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.1682, allocations: 36.28 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.1686, allocations: 298.7 kB / 446.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.1686, allocations: 11.94 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1687, allocations: 12 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1687, allocations: 8 kB / 446.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.169, allocations: 179.8 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.1708, allocations: 1.34 MB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1712, allocations: 237 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.1714, allocations: 88.25 kB / 448.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1714, allocations: 12.08 kB / 448.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1715, allocations: 34.56 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.096e-06/0.1715, allocations: 3.984 kB / 448.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005537/0.172, allocations: 217.2 kB / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1721, allocations: 166.1 kB / 449.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1724, allocations: 208.2 kB / 449.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1724, allocations: 29.7 kB / 449.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.1726, allocations: 191.9 kB / 449.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.1726, allocations: 94.69 kB / 449.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.1727, allocations: 57.7 kB / 449.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1729, allocations: 342.9 kB / 450.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.173, allocations: 59.97 kB / 450.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.1733, allocations: 209.9 kB / 450.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/0.1737, allocations: 297.7 kB / 450.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1737, allocations: 0 / 450.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005267/0.1743, allocations: 324.8 kB / 451 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.1743, allocations: 8 kB / 451 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1743, allocations: 4 kB / 451 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.1744, allocations: 8 kB / 451 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1747, allocations: 84.42 kB / 451.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.1747, allocations: 11.94 kB / 451.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1749, allocations: 43.59 kB / 451.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1749, allocations: 12 kB / 451.1 MB, free: 12.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.1751, allocations: 161.6 kB / 451.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.1752, allocations: 23.72 kB / 451.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.1754, allocations: 87.02 kB / 451.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1754, allocations: 4 kB / 451.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1754, allocations: 0 / 451.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.1755, allocations: 8 kB / 451.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006596/0.1761, allocations: 309.4 kB / 451.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1761, allocations: 7.984 kB / 451.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1765, allocations: 63.91 kB / 451.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.1765, allocations: 4 kB / 451.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1765, allocations: 4 kB / 451.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1765, allocations: 4 kB / 451.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1765, allocations: 0 / 451.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.1772, allocations: 0.6388 MB / 452.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.1773, allocations: 100.9 kB / 452.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1774, allocations: 11.94 kB / 452.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1776, allocations: 4 kB / 452.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1777, allocations: 20.22 kB / 452.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1777, allocations: 8 kB / 452.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1778, allocations: 145.9 kB / 452.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1778, allocations: 4 kB / 452.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1784, allocations: 83.69 kB / 452.8 MB, free: 10.54 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 (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.0001784/0.1786, allocations: 112.3 kB / 452.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.179, allocations: 188.4 kB / 453.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.179, allocations: 4 kB / 453.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1791, allocations: 72.5 kB / 453.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.1801, allocations: 61.56 kB / 453.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1824, allocations: 1.247 MB / 454.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.183, allocations: 0.7724 MB / 455.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.1831, allocations: 27.42 kB / 455.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of SimCode: time 3.336e-06/0.1831, allocations: 0 / 455.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Templates: time 0.006423/0.1895, allocations: 3.371 MB / 458.7 MB, free: 4.621 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++ -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 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