Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 88.47 kB / 17.63 MB, free: 6.293 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.001186/0.001186, allocations: 180.7 kB / 18.52 MB, free: 5.445 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.604/1.604, allocations: 223.2 MB / 242.5 MB, free: 336 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.2264/0.2264, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.03975/0.1832, allocations: 41.98 MB / 0.5021 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3475/0.5308, allocations: 9.119 MB / 0.511 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/0.5411, allocations: 190.2 kB / 0.5112 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008402/0.5495, allocations: 2.072 MB / 0.5132 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02167/0.5712, allocations: 6.147 MB / 0.5192 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.5747, allocations: 0.5181 MB / 0.5197 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008762/0.5834, allocations: 4.683 MB / 0.5243 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006521/0.59, allocations: 3.536 MB / 0.5278 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.5936, allocations: 1.291 MB / 0.529 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003359/0.597, allocations: 2.086 MB / 0.5311 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006315/0.5976, allocations: 169.6 kB / 0.5312 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.5997, allocations: 0.7867 MB / 0.532 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.6015, allocations: 1.773 MB / 0.5337 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.6025, allocations: 0.9167 MB / 0.5346 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.6085, allocations: 5.951 MB / 0.5404 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6085, allocations: 6.812 kB / 0.5404 GB, free: 1.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6085, allocations: 0 / 0.5404 GB, free: 1.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000211/0.6087, allocations: 0 / 0.5404 GB, free: 1.184 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.009967/0.6187, allocations: 4.206 MB / 0.5445 GB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6188, allocations: 16.56 kB / 0.5445 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.629, allocations: 3.278 MB / 0.5478 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/0.6355, allocations: 2.335 MB / 0.55 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.6359, allocations: 257.6 kB / 0.5503 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.6376, allocations: 327.7 kB / 0.5506 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.6645, allocations: 12.21 MB / 0.5625 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.6648, allocations: 34.09 kB / 0.5625 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/0.6665, allocations: 149.5 kB / 0.5627 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005044/0.6715, allocations: 2.851 MB / 0.5655 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.6965, allocations: 11.1 MB / 0.5763 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08049/0.777, allocations: 40.7 MB / 0.6161 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.788, allocations: 4.682 MB / 0.6206 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/0.7925, allocations: 2.425 MB / 0.623 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.7942, allocations: 1.317 MB / 0.6243 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.7943, allocations: 52.56 kB / 0.6243 GB, free: 1.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 5.981e-06/0.7943, allocations: 0 / 0.6243 GB, free: 1.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.05128/0.8456, allocations: 18.65 MB / 0.6425 GB, free: 15.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.8457, allocations: 74.83 kB / 0.6426 GB, free: 14.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008924/0.8547, allocations: 3.145 MB / 0.6457 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008138/0.8555, allocations: 61.7 kB / 0.6457 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003801/0.8594, allocations: 3.123 MB / 0.6488 GB, free: 8.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002082/0.8615, allocations: 0.9669 MB / 0.6497 GB, free: 7.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009673/0.8625, allocations: 119 kB / 0.6499 GB, free: 7.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0008749/0.8634, allocations: 0.5622 MB / 0.6504 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004941/0.8683, allocations: 2.444 MB / 0.6528 GB, free: 4.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007792/0.8761, allocations: 5.707 MB / 0.6584 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/0.8832, allocations: 3.728 MB / 0.662 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/0.8834, allocations: 32 kB / 0.662 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.02162/0.905, allocations: 8.949 MB / 0.6708 GB, free: 496 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.9052, allocations: 56 kB / 0.6708 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/0.9055, allocations: 112 kB / 0.6709 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003203/0.9087, allocations: 1.071 MB / 0.672 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005436/0.9142, allocations: 1.349 MB / 0.6733 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008822/0.923, allocations: 5.136 MB / 0.6783 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/0.9286, allocations: 327.2 kB / 0.6786 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/0.9301, allocations: 344 kB / 0.679 GB, free: 7.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 722 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006764/0.9369, allocations: 2.413 MB / 0.6813 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.9381, allocations: 311.9 kB / 0.6816 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.9504, allocations: 5.348 MB / 0.6868 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/0.9506, allocations: 47.98 kB / 0.6869 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.268e-05/0.9506, allocations: 3.938 kB / 0.6869 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/0.9507, allocations: 15.91 kB / 0.6869 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/0.9829, allocations: 13.04 MB / 0.6996 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/0.983, allocations: 12 kB / 0.6996 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.985, allocations: 423.3 kB / 0.7 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.9877, allocations: 0.8955 MB / 0.7009 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003465/0.9881, allocations: 51.98 kB / 0.701 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3724/1.36, allocations: 4.491 MB / 0.7054 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-05/1.361, allocations: 16.3 kB / 0.7054 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.376, allocations: 7.997 MB / 0.7132 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.378, allocations: 363.6 kB / 0.7135 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.378, allocations: 53.62 kB / 0.7136 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.379, allocations: 148.8 kB / 0.7137 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/1.38, allocations: 165.5 kB / 0.7139 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.38, allocations: 79.78 kB / 0.714 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004042/1.384, allocations: 1.927 MB / 0.7158 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.384, allocations: 0 / 0.7158 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00622/1.39, allocations: 1.082 MB / 0.7169 GB, free: 178.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005534/1.391, allocations: 201 kB / 0.7171 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009656/1.401, allocations: 5.973 MB / 0.7229 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/1.401, allocations: 0 / 0.7229 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/1.403, allocations: 2.252 MB / 0.7251 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.406, allocations: 437 kB / 0.7255 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.427, allocations: 13.96 MB / 0.7392 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.431, allocations: 3.705 MB / 0.7428 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.433, allocations: 286.2 kB / 0.7431 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.433, allocations: 0 / 0.7431 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.1203/1.553, allocations: 83.52 MB / 0.8246 GB, free: 84.43 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.Joints.PlanarCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.o] Error 1