Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008232/0.0008269, allocations: 97.53 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.0009262/0.0009262, 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.552/1.552, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 8 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003503/0.1554, allocations: 2.678 MB / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1572, allocations: 1.013 MB / 485.8 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1574, allocations: 4 kB / 485.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1576, allocations: 51.56 kB / 485.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1578, allocations: 107.1 kB / 486 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.1583, allocations: 143.6 kB / 486.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.1588, allocations: 433.8 kB / 486.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.159, allocations: 102.1 kB / 486.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1592, allocations: 139.5 kB / 486.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1594, allocations: 159.3 kB / 486.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.1595, allocations: 16 kB / 486.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1596, allocations: 35.98 kB / 487 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.1597, allocations: 67.69 kB / 487 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.1598, allocations: 97.52 kB / 487.1 MB, free: 388 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1601, allocations: 319.4 kB / 487.4 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1601, allocations: 4 kB / 487.4 MB, free: 64 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1601, allocations: 0 / 487.4 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1602, allocations: 0 / 487.4 MB, free: 64 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001125/0.1613, allocations: 0.6355 MB / 488.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1613, allocations: 8.031 kB / 488.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.1617, allocations: 67.41 kB / 488.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1621, allocations: 289.4 kB / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.1622, allocations: 29 kB / 488.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.1622, allocations: 39.91 kB / 488.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.163, allocations: 359.6 kB / 488.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.163, allocations: 4 kB / 488.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.163, allocations: 16 kB / 488.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.1631, allocations: 8 kB / 488.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.1636, allocations: 251.8 kB / 489.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.1656, allocations: 1.529 MB / 490.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.1664, allocations: 419.3 kB / 491.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1667, allocations: 137.7 kB / 491.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1667, allocations: 7.984 kB / 491.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1668, allocations: 46.5 kB / 491.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.064e-06/0.1668, allocations: 4 kB / 491.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003165/0.17, allocations: 1.972 MB / 493.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.1701, allocations: 195.9 kB / 493.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.1704, allocations: 247 kB / 493.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1704, allocations: 29.7 kB / 493.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1705, allocations: 212.3 kB / 493.9 MB, free: 8.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1707, allocations: 185.3 kB / 494.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1707, allocations: 12 kB / 494.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1708, allocations: 346.8 kB / 494.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1711, allocations: 121.2 kB / 494.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1714, allocations: 296 kB / 494.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.1717, allocations: 164.7 kB / 495 MB, free: 7.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1717, allocations: 0 / 495 MB, free: 7.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007865/0.1725, allocations: 0.4896 MB / 495.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1726, allocations: 8 kB / 495.5 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1726, allocations: 8 kB / 495.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1726, allocations: 8 kB / 495.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.1731, allocations: 143.8 kB / 495.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.1731, allocations: 15.89 kB / 495.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1733, allocations: 32.33 kB / 495.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.1734, allocations: 24 kB / 495.7 MB, free: 7.059 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 (74): * Single equations (assignments): 74 * 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.0002125/0.1736, allocations: 165.7 kB / 495.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.1737, allocations: 35.62 kB / 495.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.174, allocations: 127.3 kB / 496 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.174, allocations: 8 kB / 496 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.174, allocations: 0 / 496 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.174, allocations: 7.938 kB / 496.1 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1759, allocations: 1.257 MB / 497.3 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.176, allocations: 4 kB / 497.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.1765, allocations: 124.1 kB / 497.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.006e-06/0.1765, allocations: 4 kB / 497.4 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.1766, allocations: 19.98 kB / 497.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1766, allocations: 4 kB / 497.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1766, allocations: 11.94 kB / 497.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1777, allocations: 1.01 MB / 498.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.1778, allocations: 112.7 kB / 498.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.1778, allocations: 19.94 kB / 498.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.1782, allocations: 12 kB / 498.6 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.1783, allocations: 47.84 kB / 498.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.1784, allocations: 20 kB / 498.7 MB, free: 3.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1785, allocations: 174 kB / 498.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1785, allocations: 0 / 498.9 MB, free: 3.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007156/0.1793, allocations: 100 kB / 499 MB, free: 3.629 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * 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.0001441/0.1794, allocations: 115.7 kB / 499.1 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.1801, allocations: 339.4 kB / 499.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1801, allocations: 4.062 kB / 499.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.1803, allocations: 167.7 kB / 499.6 MB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.1813, allocations: 78.33 kB / 499.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.1839, allocations: 1.816 MB / 0.4897 GB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1843, allocations: 0.8128 MB / 0.4905 GB, free: 200 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1844, allocations: 35.44 kB / 0.4905 GB, free: 164 kB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1844, allocations: 0 / 0.4905 GB, free: 164 kB / 366.1 MB Notification: Performance of Templates: time 0.007795/0.1922, allocations: 4.678 MB / 0.4951 GB, free: 11.5 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.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.Translational.TestBrakingCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Translational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Translational.TestBrakingCalcHelperMain.o] Error 1