Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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.001076/0.001076, allocations: 95.03 kB / 16.67 MB, free: 6.102 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.001286/0.001286, allocations: 180.2 kB / 17.57 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2955/0.2955, allocations: 43.58 MB / 315.6 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005597, allocations: 18.77 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 58.86 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03072/0.1904, allocations: 27.8 MB / 471.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2085, allocations: 5.563 MB / 477.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007833/0.2164, allocations: 111.8 kB / 477.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.2185, allocations: 410.2 kB / 478 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.2231, allocations: 1.16 MB / 479.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.2238, allocations: 75.86 kB / 479.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006631/0.2304, allocations: 4.032 MB / 483.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00557/0.236, allocations: 2.327 MB / 485.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.2386, allocations: 0.8361 MB / 486.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.242, allocations: 1.424 MB / 487.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.2431, allocations: 116 kB / 487.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.2452, allocations: 411.3 kB / 488.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.2475, allocations: 1.332 MB / 489.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003795/0.2513, allocations: 1.635 MB / 491.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.2577, allocations: 4.158 MB / 495.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.2578, allocations: 0 / 495.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2578, allocations: 0 / 495.5 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003112/0.2581, allocations: 8 kB / 495.5 MB, free: 1.551 MB / 366.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.007634/0.2658, allocations: 2.922 MB / 498.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.2658, allocations: 8.031 kB / 498.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.2763, allocations: 3.03 MB / 0.4897 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.2791, allocations: 1.526 MB / 0.4912 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.2792, allocations: 176.6 kB / 0.4913 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.2797, allocations: 224 kB / 0.4915 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01386/0.2936, allocations: 9.476 MB / 0.5008 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.2936, allocations: 19.88 kB / 0.5008 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.294, allocations: 107.8 kB / 0.5009 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/0.2979, allocations: 2.377 MB / 0.5032 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.3138, allocations: 8.666 MB / 0.5117 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4013/0.7151, allocations: 29.31 MB / 0.5403 GB, free: 70.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006555/0.7217, allocations: 3.055 MB / 0.5433 GB, free: 69.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.7235, allocations: 0.9805 MB / 0.5443 GB, free: 69.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.7338, allocations: 4.844 MB / 0.549 GB, free: 67.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.7339, allocations: 40.03 kB / 0.549 GB, free: 67.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.749e-06/0.7339, allocations: 0 / 0.549 GB, free: 67.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.007321/0.7412, allocations: 2.74 MB / 0.5517 GB, free: 67.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.7413, allocations: 65.88 kB / 0.5518 GB, free: 67.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/0.7458, allocations: 2.566 MB / 0.5543 GB, free: 66.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.7459, allocations: 39.09 kB / 0.5543 GB, free: 66.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.7477, allocations: 2.646 MB / 0.5569 GB, free: 64.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.7482, allocations: 0.4916 MB / 0.5574 GB, free: 64.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/0.7487, allocations: 389.6 kB / 0.5578 GB, free: 64.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.7489, allocations: 356.6 kB / 0.5581 GB, free: 64.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.7506, allocations: 1.355 MB / 0.5594 GB, free: 63.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.7539, allocations: 4.12 MB / 0.5634 GB, free: 59.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/0.76, allocations: 5.967 MB / 0.5693 GB, free: 54.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.456e-05/0.76, allocations: 30.53 kB / 0.5693 GB, free: 54.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007104/0.7671, allocations: 5.281 MB / 0.5745 GB, free: 51.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.7672, allocations: 48 kB / 0.5745 GB, free: 51.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.779e-05/0.7673, allocations: 99.94 kB / 0.5746 GB, free: 51.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.7674, allocations: 128 kB / 0.5747 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.7699, allocations: 0.9862 MB / 0.5757 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/0.77, allocations: 187.3 kB / 0.5759 GB, free: 50.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.7729, allocations: 0.6001 MB / 0.5764 GB, free: 49.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/0.7732, allocations: 278.3 kB / 0.5767 GB, free: 49.25 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002858/0.776, allocations: 1.893 MB / 0.5786 GB, free: 47.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.7763, allocations: 217.1 kB / 0.5788 GB, free: 47.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.7767, allocations: 279.3 kB / 0.579 GB, free: 46.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.7768, allocations: 17.88 kB / 0.5791 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.7768, allocations: 0 / 0.5791 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.7768, allocations: 5.438 kB / 0.5791 GB, free: 46.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00741/0.7842, allocations: 5.612 MB / 0.5845 GB, free: 41.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7843, allocations: 4 kB / 0.5845 GB, free: 41.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.7848, allocations: 135.8 kB / 0.5847 GB, free: 40.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.7848, allocations: 12.5 kB / 0.5847 GB, free: 40.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.7849, allocations: 20 kB / 0.5847 GB, free: 40.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.7849, allocations: 19.92 kB / 0.5847 GB, free: 40.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7849, allocations: 4 kB / 0.5847 GB, free: 40.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.7866, allocations: 1.787 MB / 0.5865 GB, free: 39.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.787, allocations: 313.9 kB / 0.5868 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7872, allocations: 19.94 kB / 0.5868 GB, free: 38.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.7877, allocations: 37.59 kB / 0.5868 GB, free: 38.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.7878, allocations: 64.38 kB / 0.5869 GB, free: 38.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.7879, allocations: 41.17 kB / 0.5869 GB, free: 38.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.7898, allocations: 1.556 MB / 0.5884 GB, free: 37.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7898, allocations: 0 / 0.5884 GB, free: 37.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004347/0.7941, allocations: 1.008 MB / 0.5894 GB, free: 36 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.7945, allocations: 148.3 kB / 0.5896 GB, free: 35.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004053/0.7986, allocations: 3.128 MB / 0.5926 GB, free: 32.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7986, allocations: 1.938 kB / 0.5926 GB, free: 32.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.7993, allocations: 0.7436 MB / 0.5934 GB, free: 32.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.8015, allocations: 244.5 kB / 0.5936 GB, free: 31.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.8176, allocations: 9.615 MB / 0.603 GB, free: 22.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00501/0.8227, allocations: 2.977 MB / 0.6059 GB, free: 19.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/0.8235, allocations: 195.4 kB / 0.6061 GB, free: 18.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.894e-06/0.8236, allocations: 4 kB / 0.6061 GB, free: 18.89 MB / 414.1 MB Notification: Performance of Templates: time 0.08853/0.9121, allocations: 41.23 MB / 0.6463 GB, free: 9.699 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.TorusCalcHelperMain.o] Error 1