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.001424/0.001424, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.001477/0.001477, allocations: 195.2 kB / 17.44 MB, free: 5.887 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.91/1.91, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2661/0.2661, allocations: 43.52 MB / 314.1 MB, free: 0.7617 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.002068/0.002068, allocations: 66.03 kB / 382.7 MB, free: 57.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1547, allocations: 57.79 MB / 440.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.08385/0.2386, allocations: 73.67 MB / 0.5021 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05472/0.2934, allocations: 14.57 MB / 0.5163 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02358/0.317, allocations: 315.2 kB / 0.5166 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008636/0.3257, allocations: 3.768 MB / 0.5203 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008488/0.3343, allocations: 2.273 MB / 0.5225 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.3378, allocations: 0.9283 MB / 0.5234 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.4003/0.7382, allocations: 8.721 MB / 0.5319 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009138/0.7474, allocations: 4.672 MB / 0.5365 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005025/0.7524, allocations: 1.874 MB / 0.5383 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007669/0.7601, allocations: 3.091 MB / 0.5414 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.7622, allocations: 315.8 kB / 0.5417 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004502/0.7667, allocations: 1.423 MB / 0.5431 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004878/0.7716, allocations: 2.586 MB / 0.5456 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008297/0.7799, allocations: 2.904 MB / 0.5484 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.7926, allocations: 7.592 MB / 0.5558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.7926, allocations: 2.812 kB / 0.5558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.7926, allocations: 2.188 kB / 0.5558 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005025/0.7931, allocations: 0 / 0.5558 GB, free: 1.574 MB / 414.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.02617/0.8193, allocations: 6.546 MB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.8194, allocations: 7.094 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.8356, allocations: 2.662 MB / 0.5648 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/0.8487, allocations: 4.006 MB / 0.5687 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004977/0.8492, allocations: 308.3 kB / 0.569 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003026/0.8522, allocations: 415.7 kB / 0.5694 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03663/0.8889, allocations: 13.01 MB / 0.5821 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005409/0.8895, allocations: 59.69 kB / 0.5822 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002742/0.8922, allocations: 198.7 kB / 0.5824 GB, free: 6.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004962/0.8972, allocations: 2.499 MB / 0.5848 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/0.9284, allocations: 10.83 MB / 0.5954 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09102/1.02, allocations: 50.17 MB / 0.6444 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.032, allocations: 4.536 MB / 0.6488 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004373/1.037, allocations: 2.455 MB / 0.6512 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/1.053, allocations: 6.741 MB / 0.6578 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.95e-05/1.053, allocations: 54.45 kB / 0.6579 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.761e-06/1.053, allocations: 0 / 0.6579 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.06246/1.115, allocations: 19.41 MB / 0.6768 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/1.116, allocations: 227.1 kB / 0.677 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/1.132, allocations: 5.918 MB / 0.6828 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007211/1.133, allocations: 61.69 kB / 0.6829 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005065/1.138, allocations: 4.074 MB / 0.6868 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.14, allocations: 0.7691 MB / 0.6876 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005619/1.145, allocations: 1.533 MB / 0.6891 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.145, allocations: 305.1 kB / 0.6894 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006121/1.151, allocations: 2.63 MB / 0.692 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.163, allocations: 7.163 MB / 0.6989 GB, free: 13.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.178, allocations: 10.51 MB / 0.7092 GB, free: 1.867 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002445/1.179, allocations: 48 kB / 0.7093 GB, free: 1.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02855/1.207, allocations: 10.57 MB / 0.7196 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004861/1.208, allocations: 72.19 kB / 0.7196 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006422/1.209, allocations: 164 kB / 0.7198 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0044/1.213, allocations: 1.239 MB / 0.721 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007838/1.221, allocations: 1.723 MB / 0.7227 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.234, allocations: 7.922 MB / 0.7304 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008999/1.243, allocations: 408.1 kB / 0.7308 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/1.246, allocations: 459 kB / 0.7313 GB, free: 12.2 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0099/1.256, allocations: 2.697 MB / 0.7339 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002567/1.258, allocations: 489.6 kB / 0.7344 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.27, allocations: 4.028 MB / 0.7383 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-05/1.27, allocations: 24 kB / 0.7383 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.219e-05/1.27, allocations: 7.938 kB / 0.7383 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-05/1.27, allocations: 15.91 kB / 0.7383 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3927/1.663, allocations: 9.556 MB / 0.7477 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/1.663, allocations: 3.219 kB / 0.7477 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.664, allocations: 329.5 kB / 0.748 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/1.667, allocations: 1.001 MB / 0.749 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/1.668, allocations: 36.16 kB / 0.749 GB, free: 237.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00942/1.677, allocations: 7.235 MB / 0.7561 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.677, allocations: 6.219 kB / 0.7561 GB, free: 234.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.691, allocations: 6.879 MB / 0.7628 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002713/1.694, allocations: 0.8392 MB / 0.7636 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005849/1.694, allocations: 35.28 kB / 0.7636 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.696, allocations: 118.5 kB / 0.7638 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004201/1.697, allocations: 114.2 kB / 0.7639 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.697, allocations: 55.67 kB / 0.7639 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006488/1.703, allocations: 3.783 MB / 0.7676 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/1.703, allocations: 3.969 kB / 0.7676 GB, free: 230.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01004/1.713, allocations: 1.296 MB / 0.7689 GB, free: 230 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006621/1.714, allocations: 170.6 kB / 0.769 GB, free: 229.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.725, allocations: 6.309 MB / 0.7752 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.725, allocations: 2.781 kB / 0.7752 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/1.728, allocations: 1.905 MB / 0.7771 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/1.736, allocations: 0.6038 MB / 0.7777 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03366/1.769, allocations: 15.17 MB / 0.7925 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008877/1.778, allocations: 4.107 MB / 0.7965 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/1.781, allocations: 374.8 kB / 0.7968 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/1.781, allocations: 0 / 0.7968 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.204/1.985, allocations: 124.5 MB / 0.9184 GB, free: 89.52 MB / 0.5762 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++ -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.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