Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009571, allocations: 87.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 186.9 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 242.5 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 44.23 MB / 337.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 61.91 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02585/0.178, allocations: 25.89 MB / 498.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01424/0.1923, allocations: 5.341 MB / 0.4916 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005519/0.1979, allocations: 111.8 kB / 0.4917 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004013/0.2019, allocations: 1.256 MB / 0.4929 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.2123, allocations: 3.541 MB / 0.4964 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.2133, allocations: 79.92 kB / 0.4965 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004161/0.2175, allocations: 3.048 MB / 0.4994 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.2209, allocations: 2.128 MB / 0.5015 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.2225, allocations: 0.8949 MB / 0.5024 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.2243, allocations: 1.382 MB / 0.5037 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003118/0.2246, allocations: 116 kB / 0.5039 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008948/0.2255, allocations: 379.4 kB / 0.5042 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.2267, allocations: 1.281 MB / 0.5055 GB, free: 116 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3835/0.6102, allocations: 0.6853 MB / 0.5061 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009499/0.6197, allocations: 4.164 MB / 0.5102 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.6198, allocations: 1.062 kB / 0.5102 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6198, allocations: 0 / 0.5102 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004189/0.6202, allocations: 0 / 0.5102 GB, free: 13.09 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.01194/0.6322, allocations: 2.977 MB / 0.5131 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.6323, allocations: 9.031 kB / 0.5131 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.6432, allocations: 3.021 MB / 0.5161 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/0.6485, allocations: 1.507 MB / 0.5175 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.6488, allocations: 179 kB / 0.5177 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.6498, allocations: 225.1 kB / 0.5179 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.6697, allocations: 9.456 MB / 0.5272 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.645e-05/0.6698, allocations: 13.84 kB / 0.5272 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004395/0.6703, allocations: 115.5 kB / 0.5273 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003806/0.6741, allocations: 2.372 MB / 0.5296 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.6913, allocations: 8.63 MB / 0.538 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05005/0.7414, allocations: 29.31 MB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005658/0.7471, allocations: 3.044 MB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.7492, allocations: 0.9805 MB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.7618, allocations: 4.826 MB / 0.5753 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.7619, allocations: 51 kB / 0.5754 GB, free: 5.801 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 6.031e-06/0.7619, allocations: 0 / 0.5754 GB, free: 5.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.009495/0.7714, allocations: 2.726 MB / 0.578 GB, free: 3.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.7716, allocations: 60.06 kB / 0.5781 GB, free: 3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006197/0.7778, allocations: 2.552 MB / 0.5806 GB, free: 432 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.778, allocations: 37.7 kB / 0.5806 GB, free: 388 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.7803, allocations: 2.652 MB / 0.5832 GB, free: 13.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007904/0.7811, allocations: 494.8 kB / 0.5837 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.7813, allocations: 91.28 kB / 0.5837 GB, free: 13.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004182/0.7817, allocations: 0.5476 MB / 0.5843 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.784, allocations: 1.336 MB / 0.5856 GB, free: 11.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004887/0.7889, allocations: 4.097 MB / 0.5896 GB, free: 5.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.7935, allocations: 2.356 MB / 0.5919 GB, free: 3.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.707e-05/0.7936, allocations: 28 kB / 0.5919 GB, free: 3.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.011/0.8046, allocations: 5.251 MB / 0.597 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.152e-05/0.8048, allocations: 48 kB / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.8049, allocations: 96 kB / 0.5972 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.8051, allocations: 144 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.808, allocations: 0.9807 MB / 0.5983 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001591/0.8082, allocations: 190.3 kB / 0.5985 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.8119, allocations: 0.6108 MB / 0.5991 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004893/0.8124, allocations: 279.6 kB / 0.5993 GB, free: 12.67 MB / 446.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.004151/0.8166, allocations: 1.89 MB / 0.6012 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/0.817, allocations: 209.2 kB / 0.6014 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006297/0.8177, allocations: 275.4 kB / 0.6016 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/0.8177, allocations: 12 kB / 0.6016 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.8177, allocations: 0 / 0.6016 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8177, allocations: 11.94 kB / 0.6017 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/0.8273, allocations: 5.607 MB / 0.6071 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.8273, allocations: 4 kB / 0.6071 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.828, allocations: 135 kB / 0.6073 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.828, allocations: 12 kB / 0.6073 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.8281, allocations: 20 kB / 0.6073 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.8281, allocations: 15.27 kB / 0.6073 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.8281, allocations: 4 kB / 0.6073 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.8305, allocations: 1.776 MB / 0.609 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.8315, allocations: 313.1 kB / 0.6093 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.8317, allocations: 21.88 kB / 0.6094 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.8323, allocations: 39.95 kB / 0.6094 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.8325, allocations: 64.3 kB / 0.6095 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.8326, allocations: 36 kB / 0.6095 GB, free: 2.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002841/0.8354, allocations: 1.545 MB / 0.611 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8354, allocations: 0 / 0.611 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004575/0.84, allocations: 1.003 MB / 0.612 GB, free: 15.61 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.0003769/0.8404, allocations: 146 kB / 0.6121 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005285/0.8457, allocations: 3.11 MB / 0.6152 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8457, allocations: 3.938 kB / 0.6152 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.8469, allocations: 0.749 MB / 0.6159 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.8481, allocations: 247.8 kB / 0.6161 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.8641, allocations: 9.236 MB / 0.6252 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/0.8674, allocations: 2.971 MB / 0.6281 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/0.8681, allocations: 203.4 kB / 0.6282 GB, free: 15.18 MB / 478.1 MB Notification: Performance of SimCode: time 2.445e-06/0.8681, allocations: 0 / 0.6282 GB, free: 15.18 MB / 478.1 MB Notification: Performance of Templates: time 0.07796/0.946, allocations: 41.41 MB / 0.6687 GB, free: 5.906 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.o] Error 1