Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00136/0.00136, allocations: 104.2 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.00135/0.00135, allocations: 192.8 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.804/1.804, 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.2873/0.2873, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001649/0.001649, allocations: 68.89 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1732, allocations: 57.8 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.05223/0.2255, allocations: 47.11 MB / 487.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0326/0.2581, allocations: 9.719 MB / 497.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01414/0.2723, allocations: 195.6 kB / 497.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00639/0.2788, allocations: 2.22 MB / 499.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.2868, allocations: 1.927 MB / 0.4899 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.2894, allocations: 0.5811 MB / 0.4905 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01038/0.2998, allocations: 6.237 MB / 0.4965 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006859/0.3067, allocations: 3.12 MB / 0.4996 GB, free: 112 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/0.3115, allocations: 1.447 MB / 0.501 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005347/0.3169, allocations: 2.394 MB / 0.5033 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.3191, allocations: 244 kB / 0.5036 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.3242, allocations: 0.9985 MB / 0.5045 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004288/0.3285, allocations: 1.99 MB / 0.5065 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00636/0.3349, allocations: 2.391 MB / 0.5088 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009412/0.3443, allocations: 6.276 MB / 0.515 GB, free: 332 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.3443, allocations: 3.938 kB / 0.515 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3444, allocations: 0 / 0.515 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002905/0.3447, allocations: 8 kB / 0.515 GB, free: 320 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01403/0.3587, allocations: 5.261 MB / 0.5201 GB, free: 10.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/0.3588, allocations: 8.031 kB / 0.5201 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.3697, allocations: 3.191 MB / 0.5232 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/0.3765, allocations: 2.452 MB / 0.5256 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.3768, allocations: 262.9 kB / 0.5259 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.378, allocations: 355.6 kB / 0.5262 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3819/0.7599, allocations: 12.65 MB / 0.5386 GB, free: 86.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.7601, allocations: 35.36 kB / 0.5386 GB, free: 86.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005495/0.7607, allocations: 161.8 kB / 0.5388 GB, free: 86.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006966/0.7676, allocations: 3.029 MB / 0.5417 GB, free: 86.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02659/0.7943, allocations: 11.33 MB / 0.5528 GB, free: 81.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06925/0.8636, allocations: 42.3 MB / 0.5941 GB, free: 38.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.8739, allocations: 4.707 MB / 0.5987 GB, free: 33.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.8774, allocations: 2.444 MB / 0.6011 GB, free: 30.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.8787, allocations: 1.327 MB / 0.6024 GB, free: 29.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.8788, allocations: 56.5 kB / 0.6024 GB, free: 29.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=250): time 8.436e-06/0.8788, allocations: 0 / 0.6024 GB, free: 29.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=268): time 0.05142/0.9302, allocations: 19.51 MB / 0.6215 GB, free: 9.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.9304, allocations: 99.11 kB / 0.6216 GB, free: 9.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006555/0.937, allocations: 3.266 MB / 0.6248 GB, free: 6.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005274/0.9375, allocations: 57.7 kB / 0.6248 GB, free: 6.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002201/0.9397, allocations: 3.28 MB / 0.628 GB, free: 2.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/0.9412, allocations: 0.9713 MB / 0.629 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003263/0.9444, allocations: 1.222 MB / 0.6302 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.9445, allocations: 301.1 kB / 0.6304 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004938/0.9495, allocations: 2.495 MB / 0.6329 GB, free: 13.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008242/0.9577, allocations: 5.892 MB / 0.6386 GB, free: 6.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/0.9748, allocations: 9.202 MB / 0.6476 GB, free: 11.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003138/0.9752, allocations: 32 kB / 0.6477 GB, free: 11.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02452/0.9997, allocations: 9.176 MB / 0.6566 GB, free: 2.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/1, allocations: 56 kB / 0.6567 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003291/1, allocations: 116 kB / 0.6568 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003515/1.004, allocations: 1.062 MB / 0.6578 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005725/1.01, allocations: 1.404 MB / 0.6592 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/1.018, allocations: 5.146 MB / 0.6642 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005637/1.023, allocations: 331.9 kB / 0.6645 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.025, allocations: 356 kB / 0.6649 GB, free: 9.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007386/1.033, allocations: 2.487 MB / 0.6673 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/1.034, allocations: 319.9 kB / 0.6676 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.047, allocations: 5.372 MB / 0.6728 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.944e-05/1.047, allocations: 55.97 kB / 0.6729 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/1.047, allocations: 4 kB / 0.6729 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-05/1.047, allocations: 11.95 kB / 0.6729 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03458/1.082, allocations: 13.35 MB / 0.686 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.923e-05/1.082, allocations: 16.12 kB / 0.686 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.084, allocations: 431.3 kB / 0.6864 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/1.087, allocations: 0.8863 MB / 0.6872 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000628/1.088, allocations: 52 kB / 0.6873 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/1.096, allocations: 4.51 MB / 0.6917 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.168e-05/1.096, allocations: 15.94 kB / 0.6917 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/1.112, allocations: 8.031 MB / 0.6996 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.114, allocations: 0.7429 MB / 0.7003 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.116, allocations: 59.97 kB / 0.7003 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/1.118, allocations: 143.8 kB / 0.7005 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006566/1.119, allocations: 173.5 kB / 0.7006 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003369/1.119, allocations: 79.98 kB / 0.7007 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005579/1.125, allocations: 2.018 MB / 0.7027 GB, free: 2.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.125, allocations: 0 / 0.7027 GB, free: 2.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008385/1.133, allocations: 1.116 MB / 0.7038 GB, free: 0.9297 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/1.134, allocations: 197.4 kB / 0.704 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.147, allocations: 6.079 MB / 0.7099 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.121e-05/1.147, allocations: 4 kB / 0.7099 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004212/1.151, allocations: 2.254 MB / 0.7121 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.155, allocations: 427.7 kB / 0.7125 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3134/1.469, allocations: 14.83 MB / 0.727 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007255/1.476, allocations: 3.823 MB / 0.7307 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.478, allocations: 294.2 kB / 0.731 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/1.478, allocations: 0 / 0.731 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.1423/1.62, allocations: 86.62 MB / 0.8156 GB, free: 92.37 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.Joints.PlanarCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PlanarCalcHelperMain.o] Error 1