Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008439/0.0008442, allocations: 89.14 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009733/0.0009733, allocations: 195.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.59/1.59, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2639/0.2639, allocations: 45.91 MB / 344.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 63.46 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003956/0.1562, allocations: 2.405 MB / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.1576, allocations: 0.7093 MB / 485.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1578, allocations: 7.938 kB / 485.2 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1579, allocations: 43.69 kB / 485.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1582, allocations: 111.1 kB / 485.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1585, allocations: 59.94 kB / 485.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.1589, allocations: 409.9 kB / 485.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.1592, allocations: 104.2 kB / 485.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.1594, allocations: 151.4 kB / 486.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1597, allocations: 155.3 kB / 486.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1597, allocations: 20 kB / 486.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.1598, allocations: 24 kB / 486.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1599, allocations: 59.77 kB / 486.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.435e-05/0.16, allocations: 97.52 kB / 486.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1603, allocations: 307.4 kB / 486.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1604, allocations: 0 / 486.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1604, allocations: 0 / 486.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1604, allocations: 4 kB / 486.7 MB, free: 0.7266 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00098/0.1614, allocations: 0.5849 MB / 487.3 MB, free: 96 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.1614, allocations: 12.03 kB / 487.3 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.1617, allocations: 63.52 kB / 487.4 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.1621, allocations: 280 kB / 487.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.1622, allocations: 25 kB / 487.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.1623, allocations: 51.84 kB / 487.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.163, allocations: 390.1 kB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.1631, allocations: 7.906 kB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.1631, allocations: 16 kB / 488.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1631, allocations: 8 kB / 488.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.1636, allocations: 227.7 kB / 488.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.1664, allocations: 1.723 MB / 490.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.167, allocations: 278.3 kB / 490.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1672, allocations: 98.08 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.1672, allocations: 4 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1672, allocations: 42.5 kB / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.1673, allocations: 0 / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008184/0.1681, allocations: 285.3 kB / 490.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.1683, allocations: 213.6 kB / 491 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1686, allocations: 270.9 kB / 491.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1686, allocations: 29.64 kB / 491.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.1689, allocations: 247.5 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.169, allocations: 118.3 kB / 491.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.1691, allocations: 12 kB / 491.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.1693, allocations: 346.8 kB / 492 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1695, allocations: 97.25 kB / 492.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.1701, allocations: 428.8 kB / 492.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1705, allocations: 167.8 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1705, allocations: 7.953 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009487/0.1715, allocations: 0.5242 MB / 493.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.1715, allocations: 8 kB / 493.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.1715, allocations: 12.84 kB / 493.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-05/0.1716, allocations: 16 kB / 493.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.1721, allocations: 155.7 kB / 493.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.991e-05/0.1721, allocations: 31.84 kB / 493.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.1724, allocations: 59.44 kB / 493.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.1725, allocations: 36 kB / 493.5 MB, free: 9.359 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0002295/0.1727, allocations: 181.5 kB / 493.7 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.1729, allocations: 35.58 kB / 493.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.173, allocations: 37.78 kB / 493.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.173, allocations: 4 kB / 493.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.1731, allocations: 4 kB / 493.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1731, allocations: 0.5625 kB / 493.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.1745, allocations: 0.6436 MB / 494.4 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.1745, allocations: 4.625 kB / 494.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.1749, allocations: 91.94 kB / 494.5 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.175, allocations: 7.938 kB / 494.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.175, allocations: 12 kB / 494.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.175, allocations: 11.94 kB / 494.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.175, allocations: 0 / 494.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1761, allocations: 0.8531 MB / 495.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1762, allocations: 104.9 kB / 495.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.1763, allocations: 8 kB / 495.5 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.1766, allocations: 12 kB / 495.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.1767, allocations: 27.92 kB / 495.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.1767, allocations: 12 kB / 495.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1769, allocations: 185.9 kB / 495.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1769, allocations: 0 / 495.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007222/0.1776, allocations: 99.75 kB / 495.9 MB, free: 6.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * 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.0001918/0.1778, allocations: 115.1 kB / 496 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.1784, allocations: 302.1 kB / 496.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1784, allocations: 0 / 496.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1786, allocations: 91.83 kB / 496.4 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.1796, allocations: 61.53 kB / 496.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1823, allocations: 1.92 MB / 498.3 MB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.1827, allocations: 0.7916 MB / 499.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.1828, allocations: 35.42 kB / 499.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1828, allocations: 0 / 499.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of Templates: time 0.006471/0.1893, allocations: 4.044 MB / 0.4914 GB, free: 15.48 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o] Error 1