Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_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|inertia5.phi|inertia5.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008207/0.0008206, allocations: 92.67 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009477/0.0009482, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 45.91 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 4 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 63.47 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003549/0.1658, allocations: 2.573 MB / 484.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1678, allocations: 1.017 MB / 485.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1681, allocations: 7.938 kB / 485.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.1683, allocations: 47.64 kB / 485.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1685, allocations: 107.1 kB / 485.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.1691, allocations: 139.6 kB / 486 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.1696, allocations: 417.9 kB / 486.4 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.1699, allocations: 90.14 kB / 486.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.1701, allocations: 139.5 kB / 486.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.1703, allocations: 159.2 kB / 486.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.1704, allocations: 20 kB / 486.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1705, allocations: 35.98 kB / 486.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.1706, allocations: 55.77 kB / 486.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1707, allocations: 93.52 kB / 487 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004187/0.1712, allocations: 311.4 kB / 487.3 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.1712, allocations: 8 kB / 487.3 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1712, allocations: 0 / 487.3 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1712, allocations: 0 / 487.3 MB, free: 228 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001105/0.1723, allocations: 0.5927 MB / 487.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1724, allocations: 12.03 kB / 487.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.1728, allocations: 71.39 kB / 488 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1732, allocations: 283.4 kB / 488.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1732, allocations: 21 kB / 488.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.171e-05/0.1733, allocations: 43.98 kB / 488.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.174, allocations: 363.6 kB / 488.7 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.174, allocations: 7.906 kB / 488.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.1741, allocations: 16 kB / 488.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1741, allocations: 8 kB / 488.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.1745, allocations: 227.7 kB / 488.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1768, allocations: 1.589 MB / 490.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.1774, allocations: 307.6 kB / 490.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.1776, allocations: 101.2 kB / 490.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1777, allocations: 8.094 kB / 490.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1777, allocations: 46.53 kB / 491 MB, free: 12.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.597e-06/0.1777, allocations: 0 / 491 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007168/0.1785, allocations: 277.8 kB / 491.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.1786, allocations: 187.9 kB / 491.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.179, allocations: 242.5 kB / 491.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.179, allocations: 29.7 kB / 491.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.1792, allocations: 207.8 kB / 491.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1793, allocations: 110.5 kB / 492 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.1793, allocations: 8 kB / 492 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1795, allocations: 342.8 kB / 492.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1797, allocations: 80.83 kB / 492.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.1801, allocations: 253.7 kB / 492.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.1804, allocations: 131.8 kB / 492.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1804, allocations: 0 / 492.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006485/0.181, allocations: 376.8 kB / 493.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1811, allocations: 8 kB / 493.2 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.1811, allocations: 4 kB / 493.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.1811, allocations: 12 kB / 493.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.1815, allocations: 108.3 kB / 493.3 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.1815, allocations: 15.94 kB / 493.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1817, allocations: 43.59 kB / 493.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.1818, allocations: 24.39 kB / 493.4 MB, free: 9.676 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (52): * Single equations (assignments): 52 * 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.0002033/0.182, allocations: 169.4 kB / 493.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.1821, allocations: 27.7 kB / 493.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1823, allocations: 87.64 kB / 493.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1823, allocations: 4.156 kB / 493.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1824, allocations: 11.94 kB / 493.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1824, allocations: 7.984 kB / 493.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/0.1831, allocations: 345.3 kB / 494 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1831, allocations: 3.953 kB / 494 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.1835, allocations: 87.89 kB / 494.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1835, allocations: 0 / 494.1 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.1835, allocations: 11.98 kB / 494.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.1835, allocations: 4 kB / 494.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1835, allocations: 3.938 kB / 494.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.1844, allocations: 0.7753 MB / 494.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.1845, allocations: 108.8 kB / 495 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.1845, allocations: 4 kB / 495 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.1848, allocations: 15.94 kB / 495 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1849, allocations: 23.91 kB / 495 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1849, allocations: 8 kB / 495.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1851, allocations: 170 kB / 495.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1851, allocations: 0 / 495.2 MB, free: 7.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.1857, allocations: 99.69 kB / 495.3 MB, free: 7.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,inertia6.w,inverseSpeedDependentTorque.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 (27): * Single equations (assignments): 27 * 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.0001326/0.1858, allocations: 107.7 kB / 495.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.1863, allocations: 228.8 kB / 495.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1863, allocations: 4.062 kB / 495.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.1865, allocations: 91.84 kB / 495.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.1874, allocations: 68.75 kB / 495.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.1896, allocations: 1.641 MB / 497.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.1901, allocations: 0.7916 MB / 498.2 MB, free: 4.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.1902, allocations: 31.44 kB / 498.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1902, allocations: 0 / 498.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of Templates: time 0.006754/0.1969, allocations: 3.982 MB / 0.4905 GB, free: 0.6172 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestBraking.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.TestBrakingCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.TestBrakingCalcHelperMain.o] Error 1