Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008618/0.0008617, allocations: 87.86 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000997/0.000997, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002805, allocations: 15.98 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 63.46 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3962/0.5569, allocations: 37.99 MB / 0.5079 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.5835, allocations: 8.659 MB / 0.5164 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.5953, allocations: 175.4 kB / 0.5166 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009468/0.6048, allocations: 1.91 MB / 0.5184 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02392/0.6288, allocations: 5.582 MB / 0.5239 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.6324, allocations: 494.3 kB / 0.5243 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0096/0.642, allocations: 4.691 MB / 0.5289 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009632/0.6517, allocations: 4.274 MB / 0.5331 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.6561, allocations: 1.231 MB / 0.5343 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004992/0.6611, allocations: 1.954 MB / 0.5362 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.6627, allocations: 158.5 kB / 0.5364 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.6668, allocations: 0.9015 MB / 0.5372 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003734/0.6706, allocations: 1.786 MB / 0.539 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.6733, allocations: 0.9242 MB / 0.5399 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.6835, allocations: 6.138 MB / 0.5459 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.6836, allocations: 2.5 kB / 0.5459 GB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 8.426e-06/0.6836, allocations: 64 / 0.5459 GB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 0.000436/0.684, allocations: 1.75 kB / 0.5459 GB, free: 0 / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01614/0.7002, allocations: 4.514 MB / 0.5503 GB, free: 12.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.7002, allocations: 9.125 kB / 0.5503 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/0.7122, allocations: 3.275 MB / 0.5535 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.7191, allocations: 2.226 MB / 0.5557 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003749/0.7195, allocations: 270.5 kB / 0.5559 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.7219, allocations: 343.6 kB / 0.5563 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03558/0.7575, allocations: 12.35 MB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.7578, allocations: 23.81 kB / 0.5683 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001861/0.7596, allocations: 163.1 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005116/0.7648, allocations: 2.695 MB / 0.5711 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02998/0.7948, allocations: 11.27 MB / 0.5821 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07755/0.8724, allocations: 39.52 MB / 0.6207 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.8844, allocations: 4.963 MB / 0.6256 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003977/0.8884, allocations: 2.354 MB / 0.6279 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/0.9016, allocations: 6.836 MB / 0.6345 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.9017, allocations: 52.56 kB / 0.6346 GB, free: 6.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=226): time 5.25e-06/0.9017, allocations: 0 / 0.6346 GB, free: 6.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.04601/0.9477, allocations: 16.18 MB / 0.6504 GB, free: 6.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.9478, allocations: 77.36 kB / 0.6505 GB, free: 6.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00698/0.9548, allocations: 3.107 MB / 0.6535 GB, free: 3.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005133/0.9554, allocations: 57.7 kB / 0.6536 GB, free: 3.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003046/0.9585, allocations: 3.23 MB / 0.6567 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.9601, allocations: 0.8883 MB / 0.6576 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/0.9608, allocations: 119.9 kB / 0.6577 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0006566/0.9615, allocations: 0.5623 MB / 0.6583 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004665/0.9661, allocations: 2.356 MB / 0.6606 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/0.9742, allocations: 5.677 MB / 0.6661 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.9813, allocations: 3.642 MB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/0.9815, allocations: 36 kB / 0.6697 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.02115/1.003, allocations: 8.808 MB / 0.6783 GB, free: 8.32 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/1.003, allocations: 59.95 kB / 0.6783 GB, free: 8.262 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/1.003, allocations: 120 kB / 0.6785 GB, free: 8.145 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/1.007, allocations: 1.153 MB / 0.6796 GB, free: 6.984 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/1.012, allocations: 1.345 MB / 0.6809 GB, free: 5.637 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.023, allocations: 6.505 MB / 0.6873 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.028, allocations: 331.7 kB / 0.6876 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.029, allocations: 345.2 kB / 0.6879 GB, free: 14.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (734): * Single equations (assignments): 726 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.006364/1.036, allocations: 2.363 MB / 0.6902 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008983/1.036, allocations: 300.1 kB / 0.6905 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008766/1.045, allocations: 4.396 MB / 0.6948 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-05/1.045, allocations: 43.98 kB / 0.6948 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.045, allocations: 0 / 0.6948 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/1.045, allocations: 7.969 kB / 0.6948 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.067, allocations: 10.39 MB / 0.705 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.067, allocations: 4 kB / 0.705 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.069, allocations: 375.4 kB / 0.7053 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/1.071, allocations: 0.678 MB / 0.706 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/1.071, allocations: 47.19 kB / 0.7061 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/1.074, allocations: 2.436 MB / 0.7084 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.074, allocations: 8 kB / 0.7084 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.085, allocations: 6.715 MB / 0.715 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009785/1.086, allocations: 353.2 kB / 0.7153 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007202/1.086, allocations: 38.42 kB / 0.7154 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.088, allocations: 139.8 kB / 0.7155 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.088, allocations: 129.7 kB / 0.7156 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.088, allocations: 70.8 kB / 0.7157 GB, free: 1.363 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3237/1.412, allocations: 1.876 MB / 0.7175 GB, free: 189.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.81e-07/1.412, allocations: 0.6562 kB / 0.7175 GB, free: 189.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007406/1.42, allocations: 1.062 MB / 0.7186 GB, free: 189.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008015/1.42, allocations: 180.2 kB / 0.7187 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01316/1.434, allocations: 5.904 MB / 0.7245 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/1.434, allocations: 1.281 kB / 0.7245 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00521/1.439, allocations: 2.397 MB / 0.7268 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.442, allocations: 459 kB / 0.7273 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/1.468, allocations: 13.8 MB / 0.7408 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004823/1.473, allocations: 3.683 MB / 0.7444 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.474, allocations: 287.3 kB / 0.7446 GB, free: 179.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/1.474, allocations: 3.938 kB / 0.7446 GB, free: 179.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1366/1.611, allocations: 115.2 MB / 0.8571 GB, free: 75 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o] Error 1