Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.62 kB / 16.67 MB, free: 6.105 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.001195/0.001195, allocations: 174.3 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.949/1.949, 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.282/0.282, allocations: 43.59 MB / 315.6 MB, free: 416 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.0006057/0.0006059, allocations: 16.97 kB / 385.2 MB, free: 56.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1559, allocations: 58.87 MB / 444.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4706/0.6266, allocations: 91.27 MB / 0.5228 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05184/0.6785, allocations: 17.92 MB / 0.5403 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0257/0.7043, allocations: 395.6 kB / 0.5407 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003014/0.7073, allocations: 0.6223 MB / 0.5413 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009512/0.7169, allocations: 2.463 MB / 0.5437 GB, free: 244 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.7203, allocations: 0.9584 MB / 0.5447 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01762/0.738, allocations: 9.881 MB / 0.5543 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/0.7523, allocations: 7.906 MB / 0.562 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.758, allocations: 1.788 MB / 0.5638 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006657/0.7647, allocations: 3.173 MB / 0.5669 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002003/0.7667, allocations: 236.6 kB / 0.5671 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.7715, allocations: 1.314 MB / 0.5684 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005193/0.7767, allocations: 2.814 MB / 0.5711 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00767/0.7844, allocations: 3.21 MB / 0.5743 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.7997, allocations: 8.893 MB / 0.5829 GB, free: 7.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.7997, allocations: 4 kB / 0.5829 GB, free: 7.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7997, allocations: 3.938 kB / 0.583 GB, free: 7.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005057/0.8002, allocations: 0 / 0.583 GB, free: 7.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01994/0.8202, allocations: 6.263 MB / 0.5891 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.8203, allocations: 15.97 kB / 0.5891 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.8353, allocations: 2.892 MB / 0.5919 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.8466, allocations: 4.295 MB / 0.5961 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000472/0.8471, allocations: 390.1 kB / 0.5965 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.8495, allocations: 0.5062 MB / 0.597 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/0.8917, allocations: 16.43 MB / 0.613 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006376/0.8924, allocations: 63.38 kB / 0.6131 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002673/0.8951, allocations: 241.5 kB / 0.6133 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006548/0.9017, allocations: 3.159 MB / 0.6164 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03472/0.9364, allocations: 14.15 MB / 0.6302 GB, free: 6.066 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1026/1.039, allocations: 60.68 MB / 0.6895 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.061, allocations: 8.058 MB / 0.6973 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007896/1.069, allocations: 4.198 MB / 0.7014 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/1.07, allocations: 65.06 kB / 0.7015 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.287e-05/1.07, allocations: 64.56 kB / 0.7016 GB, free: 11.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 8.897e-06/1.07, allocations: 0 / 0.7016 GB, free: 11.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=332): time 0.4917/1.561, allocations: 35.39 MB / 0.7361 GB, free: 228.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/1.562, allocations: 221.2 kB / 0.7363 GB, free: 228.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01535/1.577, allocations: 6.37 MB / 0.7426 GB, free: 227.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/1.578, allocations: 76.83 kB / 0.7426 GB, free: 227.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004283/1.583, allocations: 4.539 MB / 0.7471 GB, free: 223.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/1.585, allocations: 1.241 MB / 0.7483 GB, free: 222.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/1.587, allocations: 0.7559 MB / 0.749 GB, free: 222.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.587, allocations: 305.1 kB / 0.7493 GB, free: 222.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006037/1.593, allocations: 4.103 MB / 0.7533 GB, free: 220.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008507/1.601, allocations: 8.962 MB / 0.7621 GB, free: 212.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/1.617, allocations: 13.98 MB / 0.7757 GB, free: 202.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002025/1.617, allocations: 54.47 kB / 0.7758 GB, free: 202.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03001/1.647, allocations: 14.97 MB / 0.7904 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003485/1.648, allocations: 78.97 kB / 0.7905 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004979/1.648, allocations: 168 kB / 0.7906 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/1.654, allocations: 2.282 MB / 0.7928 GB, free: 187 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008087/1.662, allocations: 2.098 MB / 0.7949 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/1.68, allocations: 13.5 MB / 0.8081 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/1.691, allocations: 0.5468 MB / 0.8086 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/1.694, allocations: 0.5053 MB / 0.8091 GB, free: 170.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1084): * Single equations (assignments): 1079 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01006/1.704, allocations: 3.168 MB / 0.8122 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00295/1.707, allocations: 0.5437 MB / 0.8127 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.726, allocations: 8.471 MB / 0.821 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/1.726, allocations: 32 kB / 0.821 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.238e-05/1.726, allocations: 13.38 kB / 0.821 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.433e-05/1.726, allocations: 15.94 kB / 0.8211 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04349/1.77, allocations: 17.42 MB / 0.8381 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/1.77, allocations: 4 kB / 0.8381 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003358/1.773, allocations: 0.6054 MB / 0.8387 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/1.778, allocations: 2.034 MB / 0.8407 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007976/1.779, allocations: 63.98 kB / 0.8407 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/1.795, allocations: 12.73 MB / 0.8531 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.795, allocations: 11.92 kB / 0.8532 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/1.817, allocations: 13.51 MB / 0.8664 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0043/1.822, allocations: 1.247 MB / 0.8676 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002595/1.824, allocations: 57.02 kB / 0.8676 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004852/1.829, allocations: 287.6 kB / 0.8679 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009092/1.83, allocations: 208.5 kB / 0.8681 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004565/1.83, allocations: 88.86 kB / 0.8682 GB, free: 109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.009323/1.84, allocations: 4.053 MB / 0.8721 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.84, allocations: 0 / 0.8721 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01142/1.851, allocations: 1.745 MB / 0.8739 GB, free: 103.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (278): * Single equations (assignments): 273 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/1.853, allocations: 198.8 kB / 0.874 GB, free: 103 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.868, allocations: 9.888 MB / 0.8837 GB, free: 93.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.868, allocations: 4 kB / 0.8837 GB, free: 93.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006837/1.875, allocations: 4.13 MB / 0.8877 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01151/1.887, allocations: 0.7003 MB / 0.8884 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/1.925, allocations: 20.25 MB / 0.9082 GB, free: 67.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005319/1.93, allocations: 4.834 MB / 0.9129 GB, free: 63.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002719/1.933, allocations: 467.3 kB / 0.9134 GB, free: 62.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.933, allocations: 0 / 0.9134 GB, free: 62.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.5577/2.491, allocations: 154 MB / 1.064 GB, free: 124.9 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2CalcHelperMain.o] Error 1