Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 87.02 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.001564/0.001564, allocations: 198.2 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.565/1.565, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 45.92 MB / 344.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.000288, allocations: 8 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 63.46 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02776/0.185, allocations: 25.9 MB / 0.4961 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.2017, allocations: 5.38 MB / 0.5014 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006068/0.2078, allocations: 111.8 kB / 0.5015 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00477/0.2126, allocations: 1.264 MB / 0.5027 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.224, allocations: 3.533 MB / 0.5062 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.2254, allocations: 87.91 kB / 0.5062 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3629/0.5883, allocations: 3.048 MB / 0.5092 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005519/0.5938, allocations: 2.143 MB / 0.5113 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.5967, allocations: 0.8942 MB / 0.5122 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003478/0.6002, allocations: 1.384 MB / 0.5135 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007589/0.601, allocations: 117.2 kB / 0.5136 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.6028, allocations: 380.9 kB / 0.514 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.605, allocations: 1.28 MB / 0.5153 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.6063, allocations: 0.6874 MB / 0.5159 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007228/0.6135, allocations: 4.171 MB / 0.52 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6136, allocations: 2 kB / 0.52 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6136, allocations: 0 / 0.52 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002786/0.6139, allocations: 0 / 0.52 GB, free: 10.73 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.00904/0.6229, allocations: 2.97 MB / 0.5229 GB, free: 9.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.623, allocations: 9 kB / 0.5229 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.6338, allocations: 3.027 MB / 0.5259 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00527/0.6391, allocations: 1.515 MB / 0.5274 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.6392, allocations: 171.6 kB / 0.5275 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006763/0.6399, allocations: 223.9 kB / 0.5277 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.6569, allocations: 9.459 MB / 0.537 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.657, allocations: 20.59 kB / 0.537 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.6573, allocations: 101.5 kB / 0.5371 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.6608, allocations: 2.378 MB / 0.5394 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.6828, allocations: 8.625 MB / 0.5478 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05942/0.7423, allocations: 29.3 MB / 0.5764 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.7494, allocations: 3.041 MB / 0.5794 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.7515, allocations: 0.9765 MB / 0.5804 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.7618, allocations: 4.84 MB / 0.5851 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.7619, allocations: 47.2 kB / 0.5851 GB, free: 9.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 6.863e-06/0.7619, allocations: 3.938 kB / 0.5851 GB, free: 9.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006633/0.7686, allocations: 2.716 MB / 0.5878 GB, free: 6.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7687, allocations: 64.06 kB / 0.5879 GB, free: 6.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/0.7751, allocations: 2.552 MB / 0.5904 GB, free: 4.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.7754, allocations: 40.44 kB / 0.5904 GB, free: 4.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.778, allocations: 2.647 MB / 0.593 GB, free: 1.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008846/0.7789, allocations: 496.5 kB / 0.5934 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.7793, allocations: 88 kB / 0.5935 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0007138/0.78, allocations: 0.5476 MB / 0.5941 GB, free: 448 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.7826, allocations: 1.336 MB / 0.5954 GB, free: 15.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005421/0.788, allocations: 4.104 MB / 0.5994 GB, free: 9.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.7925, allocations: 2.358 MB / 0.6017 GB, free: 7.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/0.7927, allocations: 28 kB / 0.6017 GB, free: 7.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01171/0.8044, allocations: 5.251 MB / 0.6068 GB, free: 1.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.8046, allocations: 44 kB / 0.6069 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/0.8048, allocations: 104.1 kB / 0.607 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.805, allocations: 140 kB / 0.6071 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/0.8083, allocations: 0.9747 MB / 0.6081 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000209/0.8085, allocations: 195.2 kB / 0.6083 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.8125, allocations: 0.5967 MB / 0.6088 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007213/0.8132, allocations: 283.3 kB / 0.6091 GB, free: 15.65 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.005047/0.8183, allocations: 1.891 MB / 0.611 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/0.819, allocations: 217.1 kB / 0.6112 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000982/0.82, allocations: 271.4 kB / 0.6114 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/0.82, allocations: 16 kB / 0.6114 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.8201, allocations: 0 / 0.6114 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.8201, allocations: 3.984 kB / 0.6114 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.8346, allocations: 5.602 MB / 0.6169 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.8347, allocations: 4 kB / 0.6169 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.8354, allocations: 143.7 kB / 0.617 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.298e-05/0.8354, allocations: 8 kB / 0.6171 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.8355, allocations: 27.95 kB / 0.6171 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-05/0.8356, allocations: 11.94 kB / 0.6171 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.8356, allocations: 7.984 kB / 0.6171 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/0.8386, allocations: 1.775 MB / 0.6188 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.8397, allocations: 311.6 kB / 0.6191 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006873/0.8404, allocations: 27.75 kB / 0.6192 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.8415, allocations: 39.92 kB / 0.6192 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.8417, allocations: 56.48 kB / 0.6192 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.8418, allocations: 47.95 kB / 0.6193 GB, free: 5.004 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004176/0.846, allocations: 1.549 MB / 0.6208 GB, free: 3.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.846, allocations: 0 / 0.6208 GB, free: 3.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005803/0.8518, allocations: 1.002 MB / 0.6218 GB, free: 2.441 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0005263/0.8524, allocations: 143.3 kB / 0.6219 GB, free: 2.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.8586, allocations: 3.109 MB / 0.625 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/0.8586, allocations: 4 kB / 0.625 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.8597, allocations: 0.7351 MB / 0.6257 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.8621, allocations: 239.2 kB / 0.6259 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.8835, allocations: 9.242 MB / 0.6349 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006118/0.8896, allocations: 2.97 MB / 0.6378 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007543/0.8904, allocations: 195.4 kB / 0.638 GB, free: 1.719 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.8904, allocations: 3.938 kB / 0.638 GB, free: 1.715 MB / 478.1 MB Notification: Performance of Templates: time 0.07586/0.9663, allocations: 41.41 MB / 0.6785 GB, free: 8.434 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.MultiBody.Visualizers.TorusCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.o] Error 1