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.0009791/0.0009791, allocations: 91.23 kB / 16.66 MB, free: 5.859 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.001269/0.001269, allocations: 171.5 kB / 17.57 MB, free: 5.543 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.918/1.918, 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.2759/0.2759, allocations: 43.59 MB / 315.6 MB, free: 420 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.0005792/0.0005792, allocations: 14.77 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 58.87 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.04968/0.2101, allocations: 45.82 MB / 489.9 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02987/0.2401, allocations: 9.664 MB / 499.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/0.2533, allocations: 191.6 kB / 499.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.2564, allocations: 0.5405 MB / 0.4886 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.2645, allocations: 1.939 MB / 0.4905 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.2666, allocations: 0.5849 MB / 0.491 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.2767, allocations: 6.231 MB / 0.4971 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008054/0.2848, allocations: 3.947 MB / 0.501 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003615/0.2884, allocations: 1.291 MB / 0.5022 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.2936, allocations: 2.172 MB / 0.5044 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.2952, allocations: 172 kB / 0.5045 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.2984, allocations: 0.9437 MB / 0.5055 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002772/0.3012, allocations: 1.889 MB / 0.5073 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003597/0.3049, allocations: 2.299 MB / 0.5095 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.3138, allocations: 6.141 MB / 0.5155 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3139, allocations: 0 / 0.5155 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.873e-06/0.3139, allocations: 0 / 0.5155 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005049/0.3144, allocations: 0 / 0.5155 GB, free: 0.9727 MB / 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.01292/0.3274, allocations: 4.286 MB / 0.5197 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.3275, allocations: 8.031 kB / 0.5197 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/0.34, allocations: 3.281 MB / 0.5229 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006689/0.3468, allocations: 2.463 MB / 0.5253 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.3471, allocations: 262.7 kB / 0.5256 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.3485, allocations: 339.7 kB / 0.5259 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.387/0.7355, allocations: 12.65 MB / 0.5383 GB, free: 28.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001838/0.7357, allocations: 36.55 kB / 0.5383 GB, free: 28.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006265/0.7364, allocations: 167.9 kB / 0.5385 GB, free: 28.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0065/0.7429, allocations: 3.027 MB / 0.5414 GB, free: 28.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/0.7702, allocations: 11.35 MB / 0.5525 GB, free: 28.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07018/0.8404, allocations: 42.31 MB / 0.5938 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.8512, allocations: 4.714 MB / 0.5984 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004026/0.8553, allocations: 2.438 MB / 0.6008 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.8568, allocations: 1.313 MB / 0.6021 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/0.8569, allocations: 60.5 kB / 0.6022 GB, free: 4.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 6.191e-06/0.8569, allocations: 0 / 0.6022 GB, free: 4.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=268): time 0.05113/0.908, allocations: 19.52 MB / 0.6212 GB, free: 1.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/0.9081, allocations: 99.11 kB / 0.6213 GB, free: 1.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00755/0.9157, allocations: 3.268 MB / 0.6245 GB, free: 13.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002402/0.916, allocations: 57.7 kB / 0.6246 GB, free: 13.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003424/0.9194, allocations: 3.281 MB / 0.6278 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00144/0.9209, allocations: 0.9696 MB / 0.6287 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.9221, allocations: 0.535 MB / 0.6292 GB, free: 9.129 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9223, allocations: 309 kB / 0.6295 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004535/0.9268, allocations: 2.495 MB / 0.632 GB, free: 6.324 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007316/0.9342, allocations: 5.889 MB / 0.6377 GB, free: 14.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/0.9477, allocations: 9.2 MB / 0.6467 GB, free: 4.453 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/0.9478, allocations: 35.19 kB / 0.6467 GB, free: 4.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01852/0.9664, allocations: 9.167 MB / 0.6557 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.9665, allocations: 59.94 kB / 0.6557 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/0.9668, allocations: 120 kB / 0.6558 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.9702, allocations: 1.063 MB / 0.6569 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004867/0.9751, allocations: 1.394 MB / 0.6582 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008167/0.9833, allocations: 5.141 MB / 0.6633 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/0.989, allocations: 331.8 kB / 0.6636 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/0.9904, allocations: 356 kB / 0.6639 GB, free: 3.547 MB / 494.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.007542/0.998, allocations: 2.482 MB / 0.6663 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/0.9994, allocations: 315.9 kB / 0.6667 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.012, allocations: 5.38 MB / 0.6719 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.393e-05/1.012, allocations: 54.8 kB / 0.672 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.213e-05/1.012, allocations: 4.125 kB / 0.672 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.012, allocations: 15.97 kB / 0.672 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03336/1.045, allocations: 13.36 MB / 0.685 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.045, allocations: 16.03 kB / 0.685 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.047, allocations: 422.9 kB / 0.6854 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/1.05, allocations: 0.8966 MB / 0.6863 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/1.05, allocations: 51.2 kB / 0.6864 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006058/1.056, allocations: 4.499 MB / 0.6908 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/1.056, allocations: 18.62 kB / 0.6908 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.069, allocations: 8.042 MB / 0.6986 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002079/1.071, allocations: 0.7389 MB / 0.6993 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000403/1.072, allocations: 59.92 kB / 0.6994 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.073, allocations: 147.8 kB / 0.6995 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.073, allocations: 168.8 kB / 0.6997 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.074, allocations: 83.42 kB / 0.6998 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003252/1.077, allocations: 2.018 MB / 0.7018 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/1.077, allocations: 0 / 0.7018 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006106/1.083, allocations: 1.112 MB / 0.7028 GB, free: 11.39 MB / 0.5294 GB 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.0006252/1.084, allocations: 199.7 kB / 0.703 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.094, allocations: 6.06 MB / 0.709 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/1.094, allocations: 0 / 0.709 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003592/1.097, allocations: 2.258 MB / 0.7112 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007132/1.105, allocations: 430.2 kB / 0.7116 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/1.13, allocations: 14.94 MB / 0.7262 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2993/1.43, allocations: 3.831 MB / 0.7299 GB, free: 208.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/1.431, allocations: 289.4 kB / 0.7302 GB, free: 208.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.653e-06/1.431, allocations: 0 / 0.7302 GB, free: 208.5 MB / 0.545 GB Notification: Performance of Templates: time 0.1384/1.57, allocations: 85.67 MB / 0.8138 GB, free: 147.6 MB / 0.545 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