Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009235/0.0009237, allocations: 88.81 kB / 17.63 MB, free: 5.707 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.001093/0.001094, allocations: 186.1 kB / 18.52 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.2 MB / 242.5 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2748/0.2748, allocations: 44.23 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 61.92 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.0406/0.2036, allocations: 37.99 MB / 0.4982 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3717/0.5755, allocations: 8.621 MB / 0.5066 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009151/0.5847, allocations: 174.8 kB / 0.5068 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00729/0.592, allocations: 1.908 MB / 0.5087 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.6099, allocations: 5.602 MB / 0.5141 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.6128, allocations: 0.4887 MB / 0.5146 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008326/0.6211, allocations: 4.617 MB / 0.5191 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00754/0.6287, allocations: 4.284 MB / 0.5233 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003389/0.6321, allocations: 1.23 MB / 0.5245 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.636, allocations: 1.951 MB / 0.5264 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007005/0.6367, allocations: 158.6 kB / 0.5266 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6393, allocations: 0.9284 MB / 0.5275 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.6413, allocations: 1.79 MB / 0.5292 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.6425, allocations: 0.9167 MB / 0.5301 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.6489, allocations: 6.113 MB / 0.5361 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.6489, allocations: 0 / 0.5361 GB, free: 2.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6489, allocations: 0 / 0.5361 GB, free: 2.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002821/0.6492, allocations: 0 / 0.5361 GB, free: 2.957 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01012/0.6593, allocations: 4.41 MB / 0.5404 GB, free: 288 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.6594, allocations: 10.06 kB / 0.5404 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.6703, allocations: 3.268 MB / 0.5436 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/0.6764, allocations: 2.255 MB / 0.5458 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.6767, allocations: 266.6 kB / 0.546 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.678, allocations: 344.8 kB / 0.5464 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.6996, allocations: 12.32 MB / 0.5584 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.6997, allocations: 29.28 kB / 0.5584 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/0.7002, allocations: 163.6 kB / 0.5586 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00392/0.7041, allocations: 2.693 MB / 0.5612 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.727, allocations: 11.25 MB / 0.5722 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07494/0.802, allocations: 39.51 MB / 0.6108 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.8126, allocations: 4.963 MB / 0.6156 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003667/0.8163, allocations: 2.362 MB / 0.6179 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.8283, allocations: 6.737 MB / 0.6245 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.8284, allocations: 48.56 kB / 0.6246 GB, free: 1.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=226): time 6.422e-06/0.8285, allocations: 0 / 0.6246 GB, free: 1.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.03853/0.867, allocations: 16.14 MB / 0.6403 GB, free: 1.156 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.8671, allocations: 79.16 kB / 0.6404 GB, free: 1.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00717/0.8743, allocations: 3.116 MB / 0.6434 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000291/0.8746, allocations: 49.7 kB / 0.6435 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003339/0.8779, allocations: 3.224 MB / 0.6466 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.8792, allocations: 0.8818 MB / 0.6475 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/0.8797, allocations: 118.9 kB / 0.6476 GB, free: 9.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006536/0.8804, allocations: 0.5701 MB / 0.6482 GB, free: 9.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/0.8848, allocations: 2.354 MB / 0.6505 GB, free: 6.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007233/0.8921, allocations: 5.662 MB / 0.656 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006565/0.8986, allocations: 3.641 MB / 0.6596 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/0.8989, allocations: 39.94 kB / 0.6596 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.01839/0.9173, allocations: 8.782 MB / 0.6682 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.9175, allocations: 56 kB / 0.6682 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/0.9177, allocations: 112 kB / 0.6683 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.921, allocations: 1.145 MB / 0.6695 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004629/0.9257, allocations: 1.353 MB / 0.6708 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006146/0.9319, allocations: 4.582 MB / 0.6752 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/0.9366, allocations: 315.7 kB / 0.6756 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001276/0.9379, allocations: 355.9 kB / 0.6759 GB, free: 10.91 MB / 0.5137 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.006037/0.9439, allocations: 2.372 MB / 0.6782 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008771/0.9448, allocations: 296.1 kB / 0.6785 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008445/0.9532, allocations: 4.377 MB / 0.6828 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-05/0.9533, allocations: 47.98 kB / 0.6828 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.9534, allocations: 0 / 0.6828 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.9534, allocations: 8.156 kB / 0.6828 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/0.9768, allocations: 10.37 MB / 0.6929 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/0.9769, allocations: 4 kB / 0.693 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.9787, allocations: 376.2 kB / 0.6933 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.9807, allocations: 0.6695 MB / 0.694 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003488/0.9811, allocations: 47.98 kB / 0.694 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003402/0.9845, allocations: 2.435 MB / 0.6964 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.9845, allocations: 17.62 kB / 0.6964 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4161/1.401, allocations: 6.685 MB / 0.7029 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.402, allocations: 346.2 kB / 0.7033 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/1.402, allocations: 45.09 kB / 0.7033 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.404, allocations: 134.5 kB / 0.7034 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003918/1.404, allocations: 136.4 kB / 0.7036 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.404, allocations: 68.39 kB / 0.7036 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003595/1.408, allocations: 1.882 MB / 0.7055 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.408, allocations: 0 / 0.7055 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00606/1.414, allocations: 1.05 MB / 0.7065 GB, free: 145.6 MB / 0.5294 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.0005749/1.415, allocations: 190.2 kB / 0.7067 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.426, allocations: 5.738 MB / 0.7123 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.426, allocations: 1.25 kB / 0.7123 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003811/1.43, allocations: 2.386 MB / 0.7146 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/1.432, allocations: 462.4 kB / 0.715 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/1.452, allocations: 13.81 MB / 0.7285 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004016/1.456, allocations: 3.675 MB / 0.7321 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.458, allocations: 281.8 kB / 0.7324 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.103e-06/1.458, allocations: 0 / 0.7324 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1242/1.582, allocations: 115 MB / 0.8447 GB, free: 32.37 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3CalcHelperMain.o] Error 1