Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009734/0.0009732, allocations: 90.22 kB / 17.63 MB, free: 6.16 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.001133/0.001133, allocations: 182 kB / 18.52 MB, free: 5.32 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.522/1.522, allocations: 223.2 MB / 242.5 MB, free: 252 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.2349/0.2349, allocations: 44.22 MB / 337.9 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 11.94 kB / 410.3 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 61.92 MB / 472.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.4257/0.5823, allocations: 65.65 MB / 0.5252 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04867/0.631, allocations: 13.72 MB / 0.5386 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02151/0.6526, allocations: 311.9 kB / 0.5389 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01761/0.6703, allocations: 3.471 MB / 0.5423 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04548/0.7158, allocations: 10.2 MB / 0.5523 GB, free: 136 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00852/0.7243, allocations: 0.7881 MB / 0.5531 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08272/0.8071, allocations: 61.93 MB / 0.6135 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01114/0.8183, allocations: 5.412 MB / 0.6188 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004368/0.8227, allocations: 1.603 MB / 0.6204 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.8277, allocations: 2.461 MB / 0.6228 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.8292, allocations: 172 kB / 0.6229 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.8331, allocations: 1.096 MB / 0.624 GB, free: 9.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003825/0.837, allocations: 2.193 MB / 0.6262 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.8395, allocations: 1.026 MB / 0.6272 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.8492, allocations: 6.823 MB / 0.6338 GB, free: 15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.8493, allocations: 0 / 0.6338 GB, free: 15 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8493, allocations: 0 / 0.6338 GB, free: 15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003272/0.8496, allocations: 0 / 0.6338 GB, free: 15 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.0131/0.8627, allocations: 5.124 MB / 0.6388 GB, free: 9.805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.8628, allocations: 12.56 kB / 0.6388 GB, free: 9.793 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.874, allocations: 2.649 MB / 0.6414 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009053/0.8831, allocations: 3.684 MB / 0.645 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.8834, allocations: 283.3 kB / 0.6453 GB, free: 3.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.8851, allocations: 387.6 kB / 0.6457 GB, free: 2.738 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.9093, allocations: 11.97 MB / 0.6574 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.9095, allocations: 55.53 kB / 0.6574 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.91, allocations: 183.8 kB / 0.6576 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.9136, allocations: 2.268 MB / 0.6598 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.9341, allocations: 9.898 MB / 0.6695 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4229/1.357, allocations: 46.68 MB / 0.7151 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/1.37, allocations: 3.927 MB / 0.7189 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/1.374, allocations: 2.159 MB / 0.721 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/1.387, allocations: 6.545 MB / 0.7274 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.387, allocations: 53.02 kB / 0.7274 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.811e-06/1.387, allocations: 1.375 kB / 0.7274 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04315/1.431, allocations: 16.55 MB / 0.7436 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.431, allocations: 195.6 kB / 0.7438 GB, free: 155 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007816/1.439, allocations: 5.626 MB / 0.7493 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004321/1.439, allocations: 52.94 kB / 0.7493 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.442, allocations: 3.787 MB / 0.753 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009017/1.443, allocations: 0.6698 MB / 0.7537 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/1.443, allocations: 140.5 kB / 0.7538 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002934/1.443, allocations: 0.5952 MB / 0.7544 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/1.446, allocations: 2.297 MB / 0.7567 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/1.451, allocations: 6.599 MB / 0.7631 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/1.457, allocations: 3.789 MB / 0.7668 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.458, allocations: 44 kB / 0.7668 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01633/1.474, allocations: 9.621 MB / 0.7762 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/1.474, allocations: 75.95 kB / 0.7763 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/1.474, allocations: 148 kB / 0.7764 GB, free: 123 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/1.477, allocations: 1.245 MB / 0.7777 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005019/1.482, allocations: 1.587 MB / 0.7792 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/1.492, allocations: 7.736 MB / 0.7868 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009061/1.501, allocations: 371.4 kB / 0.7871 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/1.503, allocations: 428.7 kB / 0.7875 GB, free: 111.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (848): * Single equations (assignments): 841 * 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%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006286/1.509, allocations: 2.512 MB / 0.79 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.51, allocations: 462 kB / 0.7904 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006983/1.517, allocations: 3.425 MB / 0.7938 GB, free: 105 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.875e-05/1.517, allocations: 20 kB / 0.7938 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.119e-05/1.517, allocations: 5.688 kB / 0.7938 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.517, allocations: 11.97 kB / 0.7938 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/1.536, allocations: 8.3 MB / 0.8019 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/1.536, allocations: 4.656 kB / 0.8019 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.538, allocations: 295.5 kB / 0.8022 GB, free: 96.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/1.54, allocations: 0.9912 MB / 0.8032 GB, free: 95.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/1.54, allocations: 32 kB / 0.8032 GB, free: 95.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007331/1.548, allocations: 7.097 MB / 0.8101 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.548, allocations: 0 / 0.8101 GB, free: 87.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/1.556, allocations: 5.86 MB / 0.8158 GB, free: 81.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.558, allocations: 0.534 MB / 0.8164 GB, free: 81.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001475/1.56, allocations: 31.95 kB / 0.8164 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/1.562, allocations: 91.88 kB / 0.8165 GB, free: 81.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/1.562, allocations: 100.8 kB / 0.8166 GB, free: 81.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/1.563, allocations: 48.77 kB / 0.8166 GB, free: 81.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007515/1.57, allocations: 3.585 MB / 0.8201 GB, free: 77.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.3e-07/1.57, allocations: 0 / 0.8201 GB, free: 77.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008346/1.578, allocations: 1.184 MB / 0.8213 GB, free: 76.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (126): * Single equations (assignments): 121 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006973/1.579, allocations: 168.8 kB / 0.8214 GB, free: 76.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009271/1.588, allocations: 5.577 MB / 0.8269 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.589, allocations: 112 / 0.8269 GB, free: 70.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.591, allocations: 1.613 MB / 0.8285 GB, free: 69.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005811/1.597, allocations: 0.5998 MB / 0.8291 GB, free: 68.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.622, allocations: 13.36 MB / 0.8421 GB, free: 55.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/1.627, allocations: 3.834 MB / 0.8459 GB, free: 51.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.628, allocations: 343.4 kB / 0.8462 GB, free: 50.82 MB / 0.5294 GB Notification: Performance of SimCode: time 2.114e-06/1.628, allocations: 0 / 0.8462 GB, free: 50.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.5178/2.146, allocations: 113.6 MB / 0.9572 GB, free: 199.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.Forces.FrameForcesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesCalcHelperMain.o] Error 1