Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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_4.0.0_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000831/0.0008312, allocations: 87.48 kB / 17.63 MB, free: 5.719 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.0008279/0.0008279, allocations: 182.6 kB / 18.52 MB, free: 5.168 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.524/1.524, allocations: 223.2 MB / 242.5 MB, free: 340 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.244/0.2441, allocations: 44.22 MB / 337.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 11.98 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4668/0.6201, allocations: 80.96 MB / 0.5402 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05284/0.673, allocations: 16.36 MB / 0.5562 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02619/0.6993, allocations: 384.4 kB / 0.5565 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0188/0.7181, allocations: 4.27 MB / 0.5607 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04547/0.7636, allocations: 12.41 MB / 0.5728 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006388/0.7701, allocations: 0.8933 MB / 0.5737 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.08863/0.8587, allocations: 63.04 MB / 0.6352 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.8701, allocations: 7.321 MB / 0.6424 GB, free: 6.109 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.8747, allocations: 1.923 MB / 0.6443 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005176/0.8799, allocations: 2.971 MB / 0.6472 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.8813, allocations: 216 kB / 0.6474 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.8843, allocations: 1.014 MB / 0.6484 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003461/0.8877, allocations: 2.661 MB / 0.651 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.8902, allocations: 1.252 MB / 0.6522 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9005, allocations: 8.195 MB / 0.6602 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9005, allocations: 4 kB / 0.6602 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9005, allocations: 0 / 0.6602 GB, free: 3.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004125/0.9009, allocations: 0 / 0.6602 GB, free: 3.824 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01551/0.9164, allocations: 6.263 MB / 0.6663 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.9165, allocations: 8.031 kB / 0.6663 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.9286, allocations: 2.834 MB / 0.6691 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009965/0.9386, allocations: 4.207 MB / 0.6732 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.939, allocations: 365.3 kB / 0.6735 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.9407, allocations: 479.6 kB / 0.674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/0.9708, allocations: 15.05 MB / 0.6887 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/0.9711, allocations: 67.36 kB / 0.6888 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.9723, allocations: 231.8 kB / 0.689 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005691/0.978, allocations: 2.871 MB / 0.6918 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/1.007, allocations: 12.78 MB / 0.7043 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4151/1.422, allocations: 59.12 MB / 0.762 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.438, allocations: 7.292 MB / 0.7691 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004975/1.443, allocations: 3.876 MB / 0.7729 GB, free: 144 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/1.458, allocations: 9.001 MB / 0.7817 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.458, allocations: 60.55 kB / 0.7818 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 5.831e-06/1.458, allocations: 3.75 kB / 0.7818 GB, free: 134.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07551/1.534, allocations: 32.84 MB / 0.8138 GB, free: 101.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/1.534, allocations: 235.6 kB / 0.814 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/1.543, allocations: 6.69 MB / 0.8206 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008346/1.544, allocations: 65.7 kB / 0.8206 GB, free: 94.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002791/1.547, allocations: 4.462 MB / 0.825 GB, free: 90.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.549, allocations: 1.097 MB / 0.8261 GB, free: 89.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/1.549, allocations: 169.2 kB / 0.8262 GB, free: 89.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003726/1.55, allocations: 0.6779 MB / 0.8269 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004819/1.554, allocations: 3.601 MB / 0.8304 GB, free: 84.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008544/1.563, allocations: 8.616 MB / 0.8388 GB, free: 73.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008374/1.571, allocations: 5.432 MB / 0.8441 GB, free: 68.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.571, allocations: 48 kB / 0.8442 GB, free: 68.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02808/1.6, allocations: 14.02 MB / 0.8579 GB, free: 54.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002841/1.6, allocations: 85.86 kB / 0.8579 GB, free: 54.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003261/1.6, allocations: 183.9 kB / 0.8581 GB, free: 53.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005477/1.606, allocations: 2.288 MB / 0.8604 GB, free: 51.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006996/1.613, allocations: 2.031 MB / 0.8623 GB, free: 49.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/1.629, allocations: 13.21 MB / 0.8752 GB, free: 36.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008892/1.638, allocations: 0.5225 MB / 0.8758 GB, free: 35.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/1.64, allocations: 0.5078 MB / 0.8762 GB, free: 35.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1064): * Single equations (assignments): 1057 * 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 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007345/1.648, allocations: 3.043 MB / 0.8792 GB, free: 32.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/1.649, allocations: 0.5553 MB / 0.8798 GB, free: 31.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.662, allocations: 7.216 MB / 0.8868 GB, free: 24.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-05/1.662, allocations: 32.47 kB / 0.8868 GB, free: 24.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/1.662, allocations: 8 kB / 0.8868 GB, free: 24.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/1.662, allocations: 11.95 kB / 0.8869 GB, free: 24.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02744/1.689, allocations: 15.26 MB / 0.9018 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-05/1.69, allocations: 4 kB / 0.9018 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.692, allocations: 495.2 kB / 0.9022 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004558/1.696, allocations: 2.015 MB / 0.9042 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004667/1.697, allocations: 59.98 kB / 0.9043 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3563/2.053, allocations: 12.55 MB / 0.9165 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/2.053, allocations: 8 kB / 0.9165 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02744/2.081, allocations: 11.46 MB / 0.9277 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/2.084, allocations: 0.6386 MB / 0.9283 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002823/2.087, allocations: 58.55 kB / 0.9284 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/2.09, allocations: 200.3 kB / 0.9286 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006373/2.091, allocations: 180 kB / 0.9288 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/2.091, allocations: 77.38 kB / 0.9288 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007543/2.099, allocations: 4.262 MB / 0.933 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.883e-06/2.099, allocations: 0 / 0.933 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00887/2.108, allocations: 1.627 MB / 0.9346 GB, free: 168.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (232): * Single equations (assignments): 227 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000573/2.108, allocations: 185.3 kB / 0.9348 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01255/2.121, allocations: 8.78 MB / 0.9433 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/2.121, allocations: 0 / 0.9433 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005619/2.127, allocations: 3.532 MB / 0.9468 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/2.131, allocations: 0.7171 MB / 0.9475 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/2.159, allocations: 18.13 MB / 0.9652 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004558/2.164, allocations: 4.609 MB / 0.9697 GB, free: 141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/2.166, allocations: 447.3 kB / 0.9701 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of SimCode: time 6.92e-07/2.166, allocations: 3.719 kB / 0.9701 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.5372/2.703, allocations: 144.6 MB / 1.111 GB, free: 181.7 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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.ForceCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceCalcHelperMain.o] Error 1