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.0008186/0.0008189, allocations: 92.95 kB / 16.33 MB, free: 5.938 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.0008259/0.000826, allocations: 181.1 kB / 17.22 MB, free: 5.863 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.692/1.692, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4131/0.4131, allocations: 43.55 MB / 315.2 MB, free: 8.797 MB / 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.0005381/0.0005381, allocations: 16 kB / 384.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 58.87 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2915/0.4515, allocations: 25.89 MB / 469.3 MB, free: 35.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.4635, allocations: 5.329 MB / 474.6 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005252/0.4688, allocations: 116.1 kB / 474.7 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.4723, allocations: 1.255 MB / 476 MB, free: 32.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009355/0.4817, allocations: 3.522 MB / 479.5 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.4829, allocations: 85.23 kB / 479.6 MB, free: 31.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.4865, allocations: 3.051 MB / 482.6 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/0.4896, allocations: 2.136 MB / 484.8 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.4913, allocations: 0.8878 MB / 485.7 MB, free: 29.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.4937, allocations: 1.392 MB / 487.1 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004028/0.4941, allocations: 117.2 kB / 487.2 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009833/0.4951, allocations: 367.8 kB / 487.5 MB, free: 28.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.4962, allocations: 1.275 MB / 488.8 MB, free: 28.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.4968, allocations: 0.6843 MB / 489.5 MB, free: 27.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006427/0.5033, allocations: 4.16 MB / 493.7 MB, free: 26.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5033, allocations: 0.75 kB / 493.7 MB, free: 26.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5033, allocations: 0 / 493.7 MB, free: 26.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002158/0.5036, allocations: 4 kB / 493.7 MB, free: 26.86 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.007474/0.511, allocations: 2.982 MB / 496.6 MB, free: 25.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5111, allocations: 9.406 kB / 496.7 MB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.5211, allocations: 3.026 MB / 499.7 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.5249, allocations: 1.505 MB / 0.4894 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.5251, allocations: 173.8 kB / 0.4896 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005866/0.5257, allocations: 220.9 kB / 0.4898 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.5416, allocations: 9.462 MB / 0.4991 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/0.5417, allocations: 26.75 kB / 0.4991 GB, free: 18.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003437/0.542, allocations: 103.9 kB / 0.4992 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/0.5456, allocations: 2.372 MB / 0.5015 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/0.5625, allocations: 8.633 MB / 0.5099 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.6075, allocations: 29.29 MB / 0.5385 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.6124, allocations: 3.055 MB / 0.5415 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.6138, allocations: 0.9793 MB / 0.5425 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007738/0.6215, allocations: 4.842 MB / 0.5472 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6216, allocations: 43.16 kB / 0.5472 GB, free: 4.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.086e-06/0.6216, allocations: 0 / 0.5472 GB, free: 4.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006118/0.6277, allocations: 2.728 MB / 0.5499 GB, free: 1.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6278, allocations: 60.06 kB / 0.55 GB, free: 1.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.6324, allocations: 2.55 MB / 0.5525 GB, free: 14.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.6326, allocations: 45.7 kB / 0.5525 GB, free: 14.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002691/0.6353, allocations: 2.641 MB / 0.5551 GB, free: 12.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/0.6361, allocations: 0.4937 MB / 0.5556 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.6362, allocations: 84 kB / 0.5556 GB, free: 11.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004782/0.6367, allocations: 0.5476 MB / 0.5562 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.6391, allocations: 1.336 MB / 0.5575 GB, free: 9.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/0.6432, allocations: 4.102 MB / 0.5615 GB, free: 4.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.6463, allocations: 2.351 MB / 0.5638 GB, free: 1.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/0.6463, allocations: 35.95 kB / 0.5638 GB, free: 1.852 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007855/0.6542, allocations: 5.243 MB / 0.5689 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.6543, allocations: 48 kB / 0.569 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.092e-05/0.6544, allocations: 96 kB / 0.5691 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.6545, allocations: 144 kB / 0.5692 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.6571, allocations: 0.9715 MB / 0.5702 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001687/0.6573, allocations: 191.2 kB / 0.5703 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.6601, allocations: 0.6108 MB / 0.5709 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.6605, allocations: 280 kB / 0.5712 GB, free: 10.26 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.003361/0.6638, allocations: 1.887 MB / 0.573 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.6642, allocations: 217 kB / 0.5733 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.6647, allocations: 275.4 kB / 0.5735 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.6647, allocations: 15.98 kB / 0.5735 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6648, allocations: 4 kB / 0.5735 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6648, allocations: 7.922 kB / 0.5735 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008151/0.6729, allocations: 5.603 MB / 0.579 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.673, allocations: 4 kB / 0.579 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.6735, allocations: 143.8 kB / 0.5792 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.6735, allocations: 11.98 kB / 0.5792 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.6736, allocations: 19.94 kB / 0.5792 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.6736, allocations: 8 kB / 0.5792 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.6736, allocations: 11.94 kB / 0.5792 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.6759, allocations: 1.784 MB / 0.5809 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.6764, allocations: 294 kB / 0.5812 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.6766, allocations: 23.95 kB / 0.5812 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.6772, allocations: 43.95 kB / 0.5813 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6773, allocations: 60.33 kB / 0.5813 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/0.6774, allocations: 47.97 kB / 0.5814 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002459/0.6798, allocations: 1.545 MB / 0.5829 GB, free: 14.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6799, allocations: 4 kB / 0.5829 GB, free: 14.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003944/0.6838, allocations: 1.003 MB / 0.5839 GB, free: 13.02 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.0003186/0.6841, allocations: 147 kB / 0.584 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004575/0.6887, allocations: 3.109 MB / 0.5871 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6887, allocations: 128 / 0.5871 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.6896, allocations: 0.7374 MB / 0.5878 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.6908, allocations: 246.4 kB / 0.588 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.7048, allocations: 9.246 MB / 0.597 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/0.7083, allocations: 2.973 MB / 0.6 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007016/0.709, allocations: 191.4 kB / 0.6001 GB, free: 12.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.142e-06/0.709, allocations: 0 / 0.6001 GB, free: 12.29 MB / 478.1 MB Notification: Performance of Templates: time 0.3204/1.029, allocations: 41.36 MB / 0.6405 GB, free: 131 MB / 494.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++ 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_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