Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007994/0.0007995, allocations: 87.98 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.0008931/0.0008932, allocations: 196.8 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 227.3 MB / 246.6 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2566/0.2566, allocations: 45.92 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 15.98 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 63.45 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003067/0.1681, allocations: 1.973 MB / 484.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1696, allocations: 0.8224 MB / 484.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1697, allocations: 4 kB / 484.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.17, allocations: 43.7 kB / 485 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1702, allocations: 67.52 kB / 485 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1705, allocations: 99.81 kB / 485.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.1708, allocations: 299.5 kB / 485.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.171, allocations: 68.62 kB / 485.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1713, allocations: 139.5 kB / 485.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1715, allocations: 139.5 kB / 485.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1716, allocations: 16 kB / 485.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1717, allocations: 63.92 kB / 485.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1719, allocations: 55.8 kB / 485.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.172, allocations: 69.58 kB / 486 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.1723, allocations: 271.6 kB / 486.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1724, allocations: 0 / 486.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1724, allocations: 0 / 486.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1724, allocations: 0 / 486.2 MB, free: 1.25 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001/0.1734, allocations: 0.5419 MB / 486.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1734, allocations: 12.03 kB / 486.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1736, allocations: 35.7 kB / 486.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.1739, allocations: 243.3 kB / 487 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.174, allocations: 20.56 kB / 487.1 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.1741, allocations: 27.91 kB / 487.1 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.1747, allocations: 260.8 kB / 487.3 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1747, allocations: 4 kB / 487.3 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.1748, allocations: 8 kB / 487.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1748, allocations: 4 kB / 487.4 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.1753, allocations: 234.1 kB / 487.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1768, allocations: 0.7638 MB / 488.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.1774, allocations: 250.4 kB / 488.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.1776, allocations: 136.8 kB / 488.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1777, allocations: 4 kB / 488.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1777, allocations: 38.52 kB / 488.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.1777, allocations: 0 / 488.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003065/0.1808, allocations: 1.433 MB / 490.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.1809, allocations: 55.41 kB / 490.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1811, allocations: 223.6 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1812, allocations: 37.7 kB / 490.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1813, allocations: 128.8 kB / 490.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1814, allocations: 118.3 kB / 490.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.1814, allocations: 12 kB / 490.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1816, allocations: 330.8 kB / 491.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.1819, allocations: 116 kB / 491.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/0.1822, allocations: 159.3 kB / 491.4 MB, free: 11.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.1824, allocations: 107.8 kB / 491.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1824, allocations: 0 / 491.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008055/0.1832, allocations: 413.9 kB / 491.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1832, allocations: 8 kB / 491.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1833, allocations: 0 / 491.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.1837, allocations: 164.7 kB / 492 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.1839, allocations: 67.86 kB / 492.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.1848, allocations: 0.7265 MB / 492.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1851, allocations: 52.02 kB / 492.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1851, allocations: 15.98 kB / 492.9 MB, free: 10.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.1853, allocations: 145.3 kB / 493 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.1853, allocations: 27.67 kB / 493.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.1854, allocations: 38.64 kB / 493.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1854, allocations: 4 kB / 493.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1855, allocations: 0 / 493.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1855, allocations: 0 / 493.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.187, allocations: 0.9207 MB / 494 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.187, allocations: 0 / 494 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1872, allocations: 51.95 kB / 494.1 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.1875, allocations: 152.7 kB / 494.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1876, allocations: 7.984 kB / 494.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006984/0.1883, allocations: 0.6928 MB / 494.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1883, allocations: 0 / 494.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1894, allocations: 0.587 MB / 495.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1895, allocations: 128.9 kB / 495.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.1896, allocations: 16 kB / 495.7 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1898, allocations: 47.95 kB / 495.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.19, allocations: 55.88 kB / 495.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.19, allocations: 12 kB / 495.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1902, allocations: 152.2 kB / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1902, allocations: 0 / 495.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.1905, allocations: 72 kB / 496 MB, free: 6.953 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000884/0.1914, allocations: 365.6 kB / 496.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.1921, allocations: 307.8 kB / 496.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1922, allocations: 0 / 496.6 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.1925, allocations: 152 kB / 496.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1929, allocations: 42.83 kB / 496.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1948, allocations: 0.9781 MB / 497.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1952, allocations: 0.7564 MB / 498.6 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/0.1953, allocations: 23.44 kB / 498.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1953, allocations: 3.938 kB / 498.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of Templates: time 0.007058/0.2023, allocations: 4.392 MB / 0.4912 GB, free: 4 kB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.ForUsersGuide.SupportTorque1CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1CalcHelperMain.o] Error 1