Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 95.66 kB / 16.33 MB, free: 5.953 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.001193/0.001193, allocations: 187.5 kB / 17.22 MB, free: 5.883 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.622/1.622, allocations: 205.4 MB / 223.4 MB, free: 5.211 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.3856/0.3856, allocations: 43.54 MB / 315.2 MB, free: 9.09 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.0005909/0.000591, allocations: 12 kB / 384.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1365, allocations: 58.86 MB / 443.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3374/0.4739, allocations: 66.88 MB / 0.4983 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04083/0.5148, allocations: 13.87 MB / 0.5119 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01968/0.5346, allocations: 315.2 kB / 0.5122 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.5497, allocations: 3.497 MB / 0.5156 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03679/0.5865, allocations: 10.34 MB / 0.5257 GB, free: 8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.592, allocations: 0.7888 MB / 0.5265 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04898/0.641, allocations: 35.13 MB / 0.5608 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009747/0.6508, allocations: 5.745 MB / 0.5664 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/0.6551, allocations: 1.724 MB / 0.5681 GB, free: 456 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005354/0.6605, allocations: 2.695 MB / 0.5707 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002005/0.6626, allocations: 192 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.6668, allocations: 1.096 MB / 0.5719 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003523/0.6703, allocations: 2.357 MB / 0.5742 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.6721, allocations: 1.127 MB / 0.5753 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.681, allocations: 7.408 MB / 0.5826 GB, free: 1.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6811, allocations: 3.984 kB / 0.5826 GB, free: 1.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6811, allocations: 0 / 0.5826 GB, free: 1.527 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002828/0.6814, allocations: 0 / 0.5826 GB, free: 1.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01168/0.6931, allocations: 5.451 MB / 0.5879 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6931, allocations: 12.56 kB / 0.5879 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.7044, allocations: 2.718 MB / 0.5906 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.7129, allocations: 3.924 MB / 0.5944 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.7131, allocations: 303.8 kB / 0.5947 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.7142, allocations: 423.6 kB / 0.5951 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.7354, allocations: 13 MB / 0.6078 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.7356, allocations: 59.44 kB / 0.6078 GB, free: 6.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004824/0.7361, allocations: 195.8 kB / 0.608 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/0.7398, allocations: 2.507 MB / 0.6105 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0217/0.7615, allocations: 10.79 MB / 0.621 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.352/1.114, allocations: 50.16 MB / 0.67 GB, free: 107.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.126, allocations: 4.542 MB / 0.6744 GB, free: 105.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/1.129, allocations: 2.443 MB / 0.6768 GB, free: 104.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/1.141, allocations: 6.736 MB / 0.6834 GB, free: 101.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.142, allocations: 58.97 kB / 0.6835 GB, free: 101.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.449e-06/1.142, allocations: 0 / 0.6835 GB, free: 101.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05715/1.199, allocations: 19.36 MB / 0.7024 GB, free: 93.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.199, allocations: 225.5 kB / 0.7026 GB, free: 93.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008735/1.208, allocations: 5.878 MB / 0.7083 GB, free: 91.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006372/1.208, allocations: 58.45 kB / 0.7084 GB, free: 91.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.211, allocations: 4.064 MB / 0.7124 GB, free: 88.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.212, allocations: 0.7803 MB / 0.7131 GB, free: 87.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/1.213, allocations: 145.9 kB / 0.7133 GB, free: 87.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003242/1.213, allocations: 0.6246 MB / 0.7139 GB, free: 87.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/1.217, allocations: 2.603 MB / 0.7164 GB, free: 85.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/1.222, allocations: 7.139 MB / 0.7234 GB, free: 78.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/1.228, allocations: 4.204 MB / 0.7275 GB, free: 75.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.852e-05/1.228, allocations: 44 kB / 0.7275 GB, free: 74.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01727/1.245, allocations: 10.5 MB / 0.7378 GB, free: 64.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.246, allocations: 72 kB / 0.7379 GB, free: 64.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/1.246, allocations: 160 kB / 0.738 GB, free: 64.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.248, allocations: 1.275 MB / 0.7393 GB, free: 62.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/1.254, allocations: 1.723 MB / 0.7409 GB, free: 61.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/1.261, allocations: 7.92 MB / 0.7487 GB, free: 53.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00842/1.27, allocations: 407.5 kB / 0.7491 GB, free: 52.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.271, allocations: 452.5 kB / 0.7495 GB, free: 52.22 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 911 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004786/1.276, allocations: 2.706 MB / 0.7521 GB, free: 49.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.277, allocations: 481.7 kB / 0.7526 GB, free: 49.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/1.284, allocations: 4.025 MB / 0.7565 GB, free: 44.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/1.284, allocations: 24 kB / 0.7565 GB, free: 44.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/1.284, allocations: 4 kB / 0.7565 GB, free: 44.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/1.284, allocations: 12.53 kB / 0.7566 GB, free: 44.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01774/1.302, allocations: 9.553 MB / 0.7659 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.302, allocations: 3.984 kB / 0.7659 GB, free: 35.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.304, allocations: 331.7 kB / 0.7662 GB, free: 34.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.306, allocations: 1.004 MB / 0.7672 GB, free: 33.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/1.306, allocations: 32 kB / 0.7672 GB, free: 33.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006725/1.313, allocations: 7.227 MB / 0.7743 GB, free: 26.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.313, allocations: 7.359 kB / 0.7743 GB, free: 26.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/1.322, allocations: 6.871 MB / 0.781 GB, free: 19.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/1.324, allocations: 0.8423 MB / 0.7818 GB, free: 18.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.326, allocations: 40.11 kB / 0.7819 GB, free: 18.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/1.328, allocations: 119.8 kB / 0.782 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.328, allocations: 117 kB / 0.7821 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.329, allocations: 58.88 kB / 0.7821 GB, free: 18.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005869/1.335, allocations: 3.751 MB / 0.7858 GB, free: 14.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.335, allocations: 3.938 kB / 0.7858 GB, free: 14.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006988/1.342, allocations: 1.29 MB / 0.7871 GB, free: 13.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004599/1.342, allocations: 168.9 kB / 0.7872 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008581/1.351, allocations: 6.297 MB / 0.7934 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.351, allocations: 0 / 0.7934 GB, free: 6.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/1.353, allocations: 1.906 MB / 0.7952 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.358, allocations: 0.6023 MB / 0.7958 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.384, allocations: 14.67 MB / 0.8101 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006784/1.391, allocations: 4.1 MB / 0.8142 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.393, allocations: 375.4 kB / 0.8145 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/1.393, allocations: 4 kB / 0.8145 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.4655/1.859, allocations: 123.7 MB / 0.9353 GB, free: 85.7 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorquesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorquesCalcHelperMain.o] Error 1