Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008801/0.0008801, allocations: 89.19 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 202.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 45.91 MB / 344.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 4 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 63.47 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.03108/0.196, allocations: 30.44 MB / 0.5006 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3526/0.5487, allocations: 7.191 MB / 0.5076 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007859/0.5566, allocations: 139.1 kB / 0.5077 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006183/0.5628, allocations: 1.512 MB / 0.5092 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.581, allocations: 4.51 MB / 0.5136 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.584, allocations: 416.2 kB / 0.514 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008427/0.5925, allocations: 4.194 MB / 0.5181 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006783/0.5993, allocations: 3.321 MB / 0.5213 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00281/0.6021, allocations: 1.09 MB / 0.5224 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003261/0.6054, allocations: 1.749 MB / 0.5241 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007084/0.6061, allocations: 139.2 kB / 0.5242 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.6087, allocations: 0.8546 MB / 0.5251 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.6106, allocations: 1.594 MB / 0.5266 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.6117, allocations: 0.8142 MB / 0.5274 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.6175, allocations: 5.359 MB / 0.5326 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6176, allocations: 3.156 kB / 0.5327 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6176, allocations: 4 kB / 0.5327 GB, free: 4.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001823/0.6178, allocations: 0 / 0.5327 GB, free: 4.746 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01019/0.628, allocations: 4.088 MB / 0.5366 GB, free: 2.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.628, allocations: 9.969 kB / 0.5367 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.638, allocations: 3.211 MB / 0.5398 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005928/0.644, allocations: 2.054 MB / 0.5418 GB, free: 0 / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.6443, allocations: 221.2 kB / 0.542 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/0.6456, allocations: 292.8 kB / 0.5423 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/0.6682, allocations: 11.11 MB / 0.5531 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6684, allocations: 27.72 kB / 0.5532 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005175/0.6689, allocations: 130.9 kB / 0.5533 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/0.6732, allocations: 2.572 MB / 0.5558 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02331/0.6965, allocations: 10.34 MB / 0.5659 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07208/0.7687, allocations: 35.5 MB / 0.6006 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009256/0.778, allocations: 4.284 MB / 0.6048 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.7817, allocations: 2.103 MB / 0.6068 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.7833, allocations: 1.323 MB / 0.6081 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.7834, allocations: 55.48 kB / 0.6082 GB, free: 1.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=235): time 6.492e-06/0.7834, allocations: 4 kB / 0.6082 GB, free: 1.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=256): time 0.04187/0.8253, allocations: 13.69 MB / 0.6215 GB, free: 3.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.8254, allocations: 73.41 kB / 0.6216 GB, free: 3.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/0.8324, allocations: 2.746 MB / 0.6243 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006389/0.8331, allocations: 64.59 kB / 0.6243 GB, free: 456 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.836, allocations: 2.858 MB / 0.6271 GB, free: 13.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/0.8377, allocations: 0.9394 MB / 0.6281 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/0.8385, allocations: 116.9 kB / 0.6282 GB, free: 12.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007451/0.8393, allocations: 0.5538 MB / 0.6287 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/0.8441, allocations: 2.287 MB / 0.6309 GB, free: 9.699 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008932/0.8531, allocations: 5.379 MB / 0.6362 GB, free: 2.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/0.8603, allocations: 3.516 MB / 0.6396 GB, free: 15.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.988e-05/0.8605, allocations: 32 kB / 0.6397 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01863/0.8791, allocations: 8.376 MB / 0.6478 GB, free: 6.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.8793, allocations: 48 kB / 0.6479 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003125/0.8797, allocations: 108 kB / 0.648 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.8833, allocations: 1.052 MB / 0.649 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/0.8885, allocations: 1.298 MB / 0.6503 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.8922, allocations: 2.467 MB / 0.6527 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005155/0.8974, allocations: 307.8 kB / 0.653 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/0.8991, allocations: 330.9 kB / 0.6533 GB, free: 1.145 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 489 * Number of states: 0 () * Number of discrete variables: 26 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (705): * Single equations (assignments): 696 * 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 prepare postOptimizeDAE: time 0.007712/0.9069, allocations: 2.209 MB / 0.6555 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/0.908, allocations: 276.4 kB / 0.6557 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.921, allocations: 4.945 MB / 0.6605 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.597e-05/0.9212, allocations: 51.98 kB / 0.6606 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.9212, allocations: 0 / 0.6606 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/0.9212, allocations: 9.609 kB / 0.6606 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/0.9479, allocations: 11.31 MB / 0.6717 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.948, allocations: 12 kB / 0.6717 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.9497, allocations: 407.3 kB / 0.6721 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/0.9529, allocations: 0.908 MB / 0.6729 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/0.9533, allocations: 55.98 kB / 0.673 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.9564, allocations: 2.272 MB / 0.6752 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/0.9564, allocations: 12 kB / 0.6752 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.9701, allocations: 7.351 MB / 0.6824 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.9714, allocations: 325.6 kB / 0.6827 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009224/0.9724, allocations: 52.8 kB / 0.6828 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.9745, allocations: 139.8 kB / 0.6829 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.975, allocations: 149.7 kB / 0.683 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003991/0.9754, allocations: 78.7 kB / 0.6831 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003587/0.979, allocations: 1.665 MB / 0.6847 GB, free: 424 kB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.979, allocations: 0 / 0.6847 GB, free: 424 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00739/0.9864, allocations: 0.9766 MB / 0.6857 GB, free: 15.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (206): * Single equations (assignments): 197 * 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.0008389/0.9873, allocations: 193 kB / 0.6859 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01158/0.9989, allocations: 6.028 MB / 0.6918 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.999, allocations: 2.297 kB / 0.6918 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/1.004, allocations: 2.546 MB / 0.6943 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.007, allocations: 444.4 kB / 0.6947 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.032, allocations: 13.16 MB / 0.7075 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004765/1.037, allocations: 3.427 MB / 0.7109 GB, free: 5.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.039, allocations: 275.4 kB / 0.7111 GB, free: 5.129 MB / 0.545 GB Notification: Performance of SimCode: time 2.645e-06/1.039, allocations: 3.938 kB / 0.7111 GB, free: 5.125 MB / 0.545 GB Notification: Performance of Templates: time 0.4474/1.486, allocations: 116.6 MB / 0.825 GB, free: 103.2 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInitCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInitCalcHelperMain.o] Error 1