Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.0009712, allocations: 91.94 kB / 16.33 MB, free: 5.938 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.001145/0.001145, allocations: 178.1 kB / 17.22 MB, free: 5.863 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.656/1.656, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4066/0.4066, allocations: 43.55 MB / 315.2 MB, free: 8.797 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.0006012/0.0006013, allocations: 12 kB / 384.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1435, allocations: 58.86 MB / 443.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.2924/0.436, allocations: 38.36 MB / 481.8 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.457, allocations: 8.697 MB / 490.5 MB, free: 22.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/0.4674, allocations: 175.6 kB / 490.6 MB, free: 22.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006426/0.4739, allocations: 1.924 MB / 492.6 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.4905, allocations: 5.634 MB / 498.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.4936, allocations: 0.4918 MB / 498.7 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009163/0.5027, allocations: 4.74 MB / 0.4916 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009683/0.5125, allocations: 4.322 MB / 0.4959 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.5165, allocations: 1.264 MB / 0.4971 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004997/0.5215, allocations: 2.03 MB / 0.4991 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001554/0.5231, allocations: 165.5 kB / 0.4992 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004035/0.5272, allocations: 0.9155 MB / 0.5001 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003932/0.5311, allocations: 1.848 MB / 0.5019 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002205/0.5333, allocations: 0.9487 MB / 0.5029 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0084/0.5417, allocations: 6.322 MB / 0.509 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5418, allocations: 0 / 0.509 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5418, allocations: 1 kB / 0.509 GB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002744/0.5421, allocations: 4 kB / 0.509 GB, free: 9.348 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01127/0.5534, allocations: 4.506 MB / 0.5134 GB, free: 6.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5534, allocations: 9.562 kB / 0.5134 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.5637, allocations: 3.287 MB / 0.5166 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.5689, allocations: 2.34 MB / 0.5189 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.5691, allocations: 270.8 kB / 0.5192 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005897/0.5697, allocations: 355.7 kB / 0.5195 GB, free: 2.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/0.5916, allocations: 12.64 MB / 0.5319 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5917, allocations: 35.72 kB / 0.5319 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004973/0.5922, allocations: 167.8 kB / 0.5321 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004045/0.5963, allocations: 2.762 MB / 0.5348 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.6195, allocations: 11.56 MB / 0.5461 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07003/0.6896, allocations: 40.45 MB / 0.5856 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.7, allocations: 5.082 MB / 0.5905 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003629/0.7036, allocations: 2.397 MB / 0.5929 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01201/0.7157, allocations: 6.846 MB / 0.5996 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/0.7158, allocations: 56.56 kB / 0.5996 GB, free: 14.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=235): time 7.223e-06/0.7158, allocations: 0 / 0.5996 GB, free: 14.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=244): time 0.03939/0.7552, allocations: 16.46 MB / 0.6157 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.7553, allocations: 73.34 kB / 0.6157 GB, free: 13.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007093/0.7624, allocations: 3.194 MB / 0.6189 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.7625, allocations: 61.69 kB / 0.6189 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002952/0.7655, allocations: 3.305 MB / 0.6222 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.7666, allocations: 0.9097 MB / 0.623 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/0.7671, allocations: 120 kB / 0.6232 GB, free: 5.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006278/0.7678, allocations: 0.5744 MB / 0.6237 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/0.772, allocations: 2.405 MB / 0.6261 GB, free: 2.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3056/1.078, allocations: 5.809 MB / 0.6317 GB, free: 136.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006091/1.084, allocations: 3.728 MB / 0.6354 GB, free: 136.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/1.084, allocations: 33.06 kB / 0.6354 GB, free: 136.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01629/1.1, allocations: 8.977 MB / 0.6442 GB, free: 134.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.244e-05/1.1, allocations: 55.59 kB / 0.6442 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/1.1, allocations: 120.6 kB / 0.6443 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002849/1.103, allocations: 1.151 MB / 0.6455 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004487/1.108, allocations: 1.397 MB / 0.6468 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/1.113, allocations: 4.583 MB / 0.6513 GB, free: 131.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/1.118, allocations: 332.7 kB / 0.6516 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.119, allocations: 358.7 kB / 0.652 GB, free: 131.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 30 (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 (756): * Single equations (assignments): 748 * 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.005723/1.125, allocations: 2.427 MB / 0.6543 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/1.125, allocations: 300.8 kB / 0.6546 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008123/1.134, allocations: 4.494 MB / 0.659 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/1.134, allocations: 47.28 kB / 0.6591 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.134, allocations: 8.109 kB / 0.6591 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.134, allocations: 10.97 kB / 0.6591 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/1.156, allocations: 10.6 MB / 0.6694 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.156, allocations: 5.609 kB / 0.6694 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.158, allocations: 395.2 kB / 0.6698 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.159, allocations: 0.6821 MB / 0.6705 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.16, allocations: 54.92 kB / 0.6705 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/1.162, allocations: 2.433 MB / 0.6729 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.162, allocations: 9 kB / 0.6729 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0095/1.172, allocations: 6.857 MB / 0.6796 GB, free: 121.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.173, allocations: 355.5 kB / 0.6799 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000845/1.174, allocations: 48.78 kB / 0.68 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/1.175, allocations: 146.6 kB / 0.6801 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/1.176, allocations: 132.3 kB / 0.6803 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.176, allocations: 66.55 kB / 0.6803 GB, free: 120.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00388/1.18, allocations: 1.932 MB / 0.6822 GB, free: 120.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.162e-06/1.18, allocations: 4 kB / 0.6822 GB, free: 120.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006909/1.187, allocations: 1.085 MB / 0.6833 GB, free: 120 MB / 494.1 MB 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 (197): * Single equations (assignments): 188 * 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.0006425/1.187, allocations: 182.7 kB / 0.6835 GB, free: 119.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.198, allocations: 5.885 MB / 0.6892 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.198, allocations: 0.6562 kB / 0.6892 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00446/1.202, allocations: 2.44 MB / 0.6916 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.207, allocations: 457.1 kB / 0.692 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.235, allocations: 14.16 MB / 0.7058 GB, free: 99.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003492/1.238, allocations: 3.758 MB / 0.7095 GB, free: 96.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.24, allocations: 291 kB / 0.7098 GB, free: 95.91 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.24, allocations: 0 / 0.7098 GB, free: 95.91 MB / 494.1 MB Notification: Performance of Templates: time 0.375/1.615, allocations: 118.1 MB / 0.8251 GB, free: 148.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile make -j1 -f ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o] Error 1