Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008478/0.000848, allocations: 92.34 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.0009036/0.0009036, allocations: 198.6 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.484/1.484, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003247, allocations: 8 kB / 418.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 63.47 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.4147/0.5716, allocations: 67.37 MB / 0.5366 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04507/0.6168, allocations: 14.28 MB / 0.5506 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0245/0.6413, allocations: 325.4 kB / 0.5509 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01584/0.6572, allocations: 3.529 MB / 0.5543 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03567/0.6929, allocations: 10.29 MB / 0.5644 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005807/0.6988, allocations: 0.9088 MB / 0.5653 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08473/0.7835, allocations: 63.07 MB / 0.6268 GB, free: 3.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009832/0.7934, allocations: 6.276 MB / 0.633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.7977, allocations: 1.782 MB / 0.6347 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005121/0.8028, allocations: 2.843 MB / 0.6375 GB, free: 8.973 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008962/0.8037, allocations: 204 kB / 0.6377 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.8071, allocations: 0.9792 MB / 0.6386 GB, free: 7.793 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003322/0.8104, allocations: 2.423 MB / 0.641 GB, free: 5.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.8125, allocations: 1.162 MB / 0.6421 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.8227, allocations: 7.669 MB / 0.6496 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.8228, allocations: 0 / 0.6496 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.8228, allocations: 0 / 0.6496 GB, free: 12.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003868/0.8232, allocations: 0 / 0.6496 GB, free: 12.5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01464/0.8378, allocations: 5.807 MB / 0.6553 GB, free: 6.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.8379, allocations: 8.031 kB / 0.6553 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02244/0.8603, allocations: 3.424 MB / 0.6587 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.8706, allocations: 4.256 MB / 0.6628 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.871, allocations: 332.5 kB / 0.6631 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.8728, allocations: 451.5 kB / 0.6636 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02597/0.8988, allocations: 13.26 MB / 0.6765 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002431/0.8991, allocations: 67.42 kB / 0.6766 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005991/0.8997, allocations: 211.8 kB / 0.6768 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.9041, allocations: 2.586 MB / 0.6793 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0253/0.9294, allocations: 11.52 MB / 0.6905 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4487/1.378, allocations: 53.45 MB / 0.7427 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.391, allocations: 5.661 MB / 0.7483 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0051/1.397, allocations: 3.495 MB / 0.7517 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/1.397, allocations: 0.6832 MB / 0.7523 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.8e-05/1.397, allocations: 69.61 kB / 0.7524 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 8.926e-06/1.397, allocations: 0 / 0.7524 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=315): time 0.08612/1.484, allocations: 36.55 MB / 0.7881 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.484, allocations: 271.3 kB / 0.7884 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.491, allocations: 5.194 MB / 0.7934 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.492, allocations: 69.7 kB / 0.7935 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002463/1.494, allocations: 3.91 MB / 0.7973 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/1.496, allocations: 1.183 MB / 0.7985 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/1.496, allocations: 153.2 kB / 0.7986 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003298/1.497, allocations: 0.6406 MB / 0.7993 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/1.501, allocations: 3.603 MB / 0.8028 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/1.508, allocations: 7.802 MB / 0.8104 GB, free: 95.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007153/1.515, allocations: 5.204 MB / 0.8155 GB, free: 89.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.903e-05/1.515, allocations: 40 kB / 0.8155 GB, free: 89.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1027) (initialization): time 0.02494/1.54, allocations: 13.69 MB / 0.8289 GB, free: 76.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/1.54, allocations: 78.36 kB / 0.829 GB, free: 75.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.541, allocations: 148 kB / 0.8291 GB, free: 75.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/1.547, allocations: 2.771 MB / 0.8318 GB, free: 73.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006678/1.554, allocations: 1.786 MB / 0.8335 GB, free: 71.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/1.574, allocations: 16.63 MB / 0.8498 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007605/1.582, allocations: 476.3 kB / 0.8502 GB, free: 53.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/1.584, allocations: 455.9 kB / 0.8507 GB, free: 53.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 44 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (951): * Single equations (assignments): 946 * Array equations: 3 * 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: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006725/1.59, allocations: 2.776 MB / 0.8534 GB, free: 50.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.592, allocations: 485.7 kB / 0.8539 GB, free: 50.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.607, allocations: 8.032 MB / 0.8617 GB, free: 42.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-05/1.607, allocations: 34.73 kB / 0.8617 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/1.607, allocations: 12 kB / 0.8617 GB, free: 42.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-05/1.607, allocations: 11.95 kB / 0.8618 GB, free: 42.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0348/1.642, allocations: 17.12 MB / 0.8785 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/1.642, allocations: 12 kB / 0.8785 GB, free: 24.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.645, allocations: 0.4953 MB / 0.879 GB, free: 24.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005805/1.651, allocations: 2.483 MB / 0.8814 GB, free: 21.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006871/1.651, allocations: 60.94 kB / 0.8815 GB, free: 21.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/1.668, allocations: 14.78 MB / 0.8959 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/1.668, allocations: 15.97 kB / 0.8959 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02118/1.689, allocations: 12.54 MB / 0.9081 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/1.692, allocations: 0.5416 MB / 0.9087 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/1.693, allocations: 63.95 kB / 0.9087 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.697, allocations: 235.7 kB / 0.909 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008583/1.698, allocations: 204.7 kB / 0.9092 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/1.698, allocations: 91.92 kB / 0.9092 GB, free: 8.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008591/1.707, allocations: 3.269 MB / 0.9124 GB, free: 5.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.31e-07/1.707, allocations: 0 / 0.9124 GB, free: 5.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01168/1.719, allocations: 1.553 MB / 0.914 GB, free: 3.992 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (253): * Single equations (assignments): 248 * Array equations: 3 * 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: 2 {(3,100.0%) 21,(3,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/1.72, allocations: 215.2 kB / 0.9142 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3289/2.049, allocations: 8.805 MB / 0.9228 GB, free: 185.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/2.049, allocations: 1.438 kB / 0.9228 GB, free: 185.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006997/2.056, allocations: 3.553 MB / 0.9262 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/2.061, allocations: 0.6378 MB / 0.9269 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/2.094, allocations: 17.65 MB / 0.9441 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004945/2.099, allocations: 4.305 MB / 0.9483 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002084/2.101, allocations: 402.2 kB / 0.9487 GB, free: 174.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/2.101, allocations: 0 / 0.9487 GB, free: 174.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1798/2.281, allocations: 135.3 MB / 1.081 GB, free: 47.26 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2CalcHelperMain.o] Error 1