Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 174.7 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007845/0.0007847, allocations: 82.42 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09802, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.1869/0.285, allocations: 42.02 MB / 0.5204 GB, free: 20.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.3016, allocations: 9.473 MB / 0.5296 GB, free: 14.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006951/0.3086, allocations: 197.7 kB / 0.5298 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005169/0.3138, allocations: 2.162 MB / 0.5319 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.3275, allocations: 6.501 MB / 0.5383 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.33, allocations: 0.6641 MB / 0.5389 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004654/0.3346, allocations: 4.863 MB / 0.5437 GB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/0.3396, allocations: 4.29 MB / 0.5478 GB, free: 7.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.3416, allocations: 1.249 MB / 0.5491 GB, free: 6.668 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.3442, allocations: 1.898 MB / 0.5509 GB, free: 6.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.3448, allocations: 140.6 kB / 0.551 GB, free: 6.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.347, allocations: 1.115 MB / 0.5521 GB, free: 5.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.3487, allocations: 1.729 MB / 0.5538 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.3505, allocations: 1.906 MB / 0.5557 GB, free: 3.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.3554, allocations: 5.464 MB / 0.561 GB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3555, allocations: 1.312 kB / 0.561 GB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3555, allocations: 0 / 0.561 GB, free: 276 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002282/0.3557, allocations: 0 / 0.561 GB, free: 276 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.008251/0.364, allocations: 3.938 MB / 0.5649 GB, free: 13.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.364, allocations: 9.625 kB / 0.5649 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006956/0.371, allocations: 1.988 MB / 0.5668 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/0.376, allocations: 2.457 MB / 0.5692 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.3762, allocations: 250.6 kB / 0.5695 GB, free: 9.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.3775, allocations: 411.4 kB / 0.5699 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.3945, allocations: 10.16 MB / 0.5798 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3947, allocations: 39.59 kB / 0.5798 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000488/0.3952, allocations: 159.8 kB / 0.58 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.3978, allocations: 1.884 MB / 0.5818 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/0.4132, allocations: 8.557 MB / 0.5902 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04333/0.4566, allocations: 39.77 MB / 0.629 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/0.4654, allocations: 3.839 MB / 0.6327 GB, free: 6.824 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/0.4676, allocations: 1.604 MB / 0.6343 GB, free: 5.211 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.4785, allocations: 7.919 MB / 0.642 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.4786, allocations: 59.56 kB / 0.6421 GB, free: 12.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 5.61e-06/0.4786, allocations: 0 / 0.6421 GB, free: 12.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.03478/0.5134, allocations: 14.55 MB / 0.6563 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001132/0.5146, allocations: 1.596 MB / 0.6579 GB, free: 12.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005007/0.5196, allocations: 3.909 MB / 0.6617 GB, free: 8.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003507/0.52, allocations: 49.7 kB / 0.6617 GB, free: 8.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5219, allocations: 3.159 MB / 0.6648 GB, free: 5.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008357/0.5228, allocations: 0.6868 MB / 0.6655 GB, free: 4.492 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.5231, allocations: 120 kB / 0.6656 GB, free: 4.375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/0.5234, allocations: 0.5625 MB / 0.6662 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.5263, allocations: 2.066 MB / 0.6682 GB, free: 1.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004843/0.5311, allocations: 5.885 MB / 0.6739 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1738/0.7049, allocations: 8.609 MB / 0.6823 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.7051, allocations: 38.84 kB / 0.6824 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02059/0.7257, allocations: 9.427 MB / 0.6916 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.7258, allocations: 62.84 kB / 0.6916 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009841/0.7357, allocations: 3.602 MB / 0.6951 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008987/0.7447, allocations: 2.27 MB / 0.6974 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003913/0.7486, allocations: 1.422 MB / 0.6987 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007157/0.7558, allocations: 6.379 MB / 0.705 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/0.76, allocations: 402.9 kB / 0.7054 GB, free: 142.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005917/0.7606, allocations: 379.9 kB / 0.7057 GB, free: 142.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (770): * Single equations (assignments): 761 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.002934/0.7636, allocations: 2.095 MB / 0.7078 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.7641, allocations: 343.2 kB / 0.7081 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.7692, allocations: 3.075 MB / 0.7111 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004245/0.7734, allocations: 2.585 MB / 0.7136 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.7735, allocations: 7.594 kB / 0.7136 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.7735, allocations: 11.39 kB / 0.7136 GB, free: 139.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.7899, allocations: 9.666 MB / 0.7231 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/0.79, allocations: 4.125 kB / 0.7231 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7912, allocations: 275.4 kB / 0.7233 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/0.7941, allocations: 1.066 MB / 0.7244 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.7944, allocations: 44.89 kB / 0.7244 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/0.7986, allocations: 4.809 MB / 0.7291 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006771/0.7993, allocations: 1.454 MB / 0.7306 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007609/0.8069, allocations: 5.495 MB / 0.7359 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.808, allocations: 402.2 kB / 0.7363 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004731/0.8085, allocations: 46.19 kB / 0.7363 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.8099, allocations: 143.3 kB / 0.7365 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.8102, allocations: 109.7 kB / 0.7366 GB, free: 129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.8103, allocations: 55.7 kB / 0.7366 GB, free: 129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003304/0.8136, allocations: 2.407 MB / 0.739 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8136, allocations: 0 / 0.739 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004702/0.8183, allocations: 1.054 MB / 0.74 GB, free: 128.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (136): * Single equations (assignments): 129 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0004096/0.8188, allocations: 180.7 kB / 0.7402 GB, free: 128 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008025/0.8268, allocations: 5.649 MB / 0.7457 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.8269, allocations: 4 kB / 0.7457 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/0.8301, allocations: 2.122 MB / 0.7478 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/0.8347, allocations: 438.3 kB / 0.7482 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.8501, allocations: 11.82 MB / 0.7597 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/0.8531, allocations: 3.253 MB / 0.7629 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000877/0.854, allocations: 291.4 kB / 0.7632 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/0.854, allocations: 0 / 0.7632 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.29/1.144, allocations: 132 MB / 0.8921 GB, free: 157.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches