Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 95 kB / 17.63 MB, free: 6.152 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.001414/0.001414, allocations: 178.2 kB / 18.52 MB, free: 5.316 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.589/1.589, allocations: 223.2 MB / 242.5 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.22 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 16 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.91 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03911/0.1872, allocations: 37.45 MB / 0.4977 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3295/0.5168, allocations: 8.355 MB / 0.5058 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009772/0.5266, allocations: 170.3 kB / 0.506 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00873/0.5354, allocations: 1.865 MB / 0.5078 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02152/0.5569, allocations: 5.575 MB / 0.5133 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.5599, allocations: 480.3 kB / 0.5137 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008825/0.5688, allocations: 4.399 MB / 0.518 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008891/0.5777, allocations: 3.195 MB / 0.5211 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.5824, allocations: 1.182 MB / 0.5223 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.587, allocations: 1.894 MB / 0.5241 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000904/0.588, allocations: 151.8 kB / 0.5243 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.5908, allocations: 0.7878 MB / 0.5251 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.5933, allocations: 1.678 MB / 0.5267 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.5948, allocations: 0.8762 MB / 0.5275 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006185/0.601, allocations: 5.606 MB / 0.533 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.601, allocations: 0 / 0.533 GB, free: 4.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.601, allocations: 0 / 0.533 GB, free: 4.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001992/0.6012, allocations: 0 / 0.533 GB, free: 4.031 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009006/0.6102, allocations: 4.042 MB / 0.537 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6103, allocations: 16.95 kB / 0.537 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.6206, allocations: 3.223 MB / 0.5401 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/0.6271, allocations: 2.159 MB / 0.5422 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.6274, allocations: 239.4 kB / 0.5425 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.6285, allocations: 308 kB / 0.5428 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.6522, allocations: 12.06 MB / 0.5545 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.6525, allocations: 34.16 kB / 0.5546 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001695/0.6542, allocations: 149 kB / 0.5547 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005413/0.6596, allocations: 2.837 MB / 0.5575 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02588/0.6855, allocations: 11.32 MB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07477/0.7604, allocations: 41.27 MB / 0.6088 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.775, allocations: 6.061 MB / 0.6148 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00504/0.78, allocations: 2.994 MB / 0.6177 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/0.7822, allocations: 1.892 MB / 0.6195 GB, free: 6.203 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.622e-05/0.7823, allocations: 52.56 kB / 0.6196 GB, free: 6.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 7.795e-06/0.7823, allocations: 4 kB / 0.6196 GB, free: 6.137 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.05431/0.8366, allocations: 20.07 MB / 0.6392 GB, free: 1.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.8367, allocations: 77.41 kB / 0.6393 GB, free: 1.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/0.8437, allocations: 3.011 MB / 0.6422 GB, free: 14.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007887/0.8445, allocations: 61.7 kB / 0.6423 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002948/0.8475, allocations: 2.985 MB / 0.6452 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001919/0.8494, allocations: 1.023 MB / 0.6462 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/0.8504, allocations: 116 kB / 0.6463 GB, free: 10.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006857/0.8511, allocations: 0.5661 MB / 0.6468 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00537/0.8565, allocations: 2.83 MB / 0.6496 GB, free: 7.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008376/0.8649, allocations: 6.008 MB / 0.6555 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00819/0.8731, allocations: 4.099 MB / 0.6595 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.8732, allocations: 35.94 kB / 0.6595 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02474/0.898, allocations: 10 MB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003691/0.8984, allocations: 54.5 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004322/0.8989, allocations: 108 kB / 0.6694 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/0.9047, allocations: 1.377 MB / 0.6708 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00634/0.9111, allocations: 1.372 MB / 0.6721 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.9234, allocations: 7.477 MB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005511/0.929, allocations: 370.6 kB / 0.6798 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/0.9305, allocations: 344 kB / 0.6801 GB, free: 6.336 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (722): * Single equations (assignments): 715 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007055/0.9376, allocations: 2.302 MB / 0.6823 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.9388, allocations: 300.1 kB / 0.6826 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.9538, allocations: 6.608 MB / 0.6891 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.193e-05/0.9539, allocations: 47.98 kB / 0.6891 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.957e-05/0.954, allocations: 4 kB / 0.6891 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/0.954, allocations: 11.95 kB / 0.6891 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3991/1.353, allocations: 13.99 MB / 0.7028 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.012e-05/1.353, allocations: 6.875 kB / 0.7028 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/1.356, allocations: 456.3 kB / 0.7032 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/1.36, allocations: 1.209 MB / 0.7044 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005747/1.36, allocations: 49.53 kB / 0.7045 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009578/1.37, allocations: 6.512 MB / 0.7108 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.37, allocations: 9.688 kB / 0.7108 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.386, allocations: 9.832 MB / 0.7204 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.388, allocations: 357.6 kB / 0.7208 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/1.388, allocations: 46.47 kB / 0.7208 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.39, allocations: 193.2 kB / 0.721 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/1.39, allocations: 160.3 kB / 0.7212 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.39, allocations: 78.66 kB / 0.7212 GB, free: 176 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003628/1.394, allocations: 1.843 MB / 0.723 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/1.394, allocations: 0 / 0.723 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006449/1.4, allocations: 1.13 MB / 0.7241 GB, free: 175.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005624/1.401, allocations: 188.8 kB / 0.7243 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009538/1.411, allocations: 6.865 MB / 0.731 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.411, allocations: 0 / 0.731 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.414, allocations: 2.847 MB / 0.7338 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/1.417, allocations: 421.5 kB / 0.7342 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.437, allocations: 13.93 MB / 0.7478 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003405/1.44, allocations: 3.581 MB / 0.7513 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.442, allocations: 291.2 kB / 0.7516 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of SimCode: time 2.104e-06/1.442, allocations: 4 kB / 0.7516 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1099/1.552, allocations: 83.07 MB / 0.8327 GB, free: 76.58 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.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.Joints.UniversalCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalCalcHelperMain.o] Error 1