Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 106.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3588/0.3588, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001215, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3582, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.03961/0.3979, allocations: 46.05 MB / 0.5601 GB, free: 4.805 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03075/0.4287, allocations: 9.972 MB / 0.5699 GB, free: 14.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01432/0.4431, allocations: 199.2 kB / 0.5701 GB, free: 14.12 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007302/0.4504, allocations: 2.562 MB / 0.5726 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007234/0.4578, allocations: 1.685 MB / 0.5742 GB, free: 12.01 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.4604, allocations: 0.6702 MB / 0.5749 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009692/0.4701, allocations: 6.076 MB / 0.5808 GB, free: 6.199 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005547/0.4757, allocations: 3.33 MB / 0.584 GB, free: 2.812 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.4789, allocations: 1.351 MB / 0.5854 GB, free: 1.457 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003986/0.4829, allocations: 2.122 MB / 0.5874 GB, free: 15.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.4842, allocations: 224 kB / 0.5876 GB, free: 15.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.4878, allocations: 1.201 MB / 0.5888 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.4907, allocations: 1.851 MB / 0.5906 GB, free: 12.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004503/0.4952, allocations: 2.097 MB / 0.5927 GB, free: 9.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009066/0.5043, allocations: 6.608 MB / 0.5991 GB, free: 3.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.5044, allocations: 0 / 0.5991 GB, free: 3.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5044, allocations: 3.938 kB / 0.5991 GB, free: 3.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002277/0.5046, allocations: 0 / 0.5991 GB, free: 3.309 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.0104/0.515, allocations: 4.685 MB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5151, allocations: 8.031 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006969/0.5221, allocations: 1.988 MB / 0.6057 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/0.5277, allocations: 2.319 MB / 0.6079 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.5279, allocations: 238.5 kB / 0.6081 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009201/0.5289, allocations: 407.4 kB / 0.6085 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.5463, allocations: 9.872 MB / 0.6182 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.5464, allocations: 39.59 kB / 0.6182 GB, free: 14.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003964/0.5468, allocations: 163.8 kB / 0.6184 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/0.5495, allocations: 1.814 MB / 0.6201 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.5665, allocations: 8.306 MB / 0.6283 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/0.6146, allocations: 38.89 MB / 0.6662 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008867/0.6235, allocations: 3.719 MB / 0.6699 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.6258, allocations: 1.572 MB / 0.6714 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3045/0.9303, allocations: 7.742 MB / 0.679 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.9304, allocations: 50.88 kB / 0.679 GB, free: 131.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 4.388e-06/0.9304, allocations: 0 / 0.679 GB, free: 131.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.04674/0.9771, allocations: 14.23 MB / 0.6929 GB, free: 126.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001504/0.9787, allocations: 1.595 MB / 0.6945 GB, free: 124.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008518/0.9872, allocations: 3.856 MB / 0.6982 GB, free: 123.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005038/0.9878, allocations: 48.8 kB / 0.6983 GB, free: 123.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003146/0.991, allocations: 3.083 MB / 0.7013 GB, free: 121.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009803/0.992, allocations: 0.6455 MB / 0.7019 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/0.9939, allocations: 1.22 MB / 0.7031 GB, free: 120 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.9939, allocations: 306.2 kB / 0.7034 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.9971, allocations: 2.028 MB / 0.7054 GB, free: 119.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/1.002, allocations: 5.777 MB / 0.711 GB, free: 113.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009669/1.012, allocations: 8.42 MB / 0.7192 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/1.012, allocations: 37.66 kB / 0.7193 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02253/1.034, allocations: 9.357 MB / 0.7284 GB, free: 103 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.035, allocations: 66.3 kB / 0.7285 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01046/1.045, allocations: 3.584 MB / 0.732 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009927/1.055, allocations: 2.36 MB / 0.7343 GB, free: 99.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/1.059, allocations: 1.372 MB / 0.7356 GB, free: 98.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/1.066, allocations: 6.401 MB / 0.7419 GB, free: 91.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.072, allocations: 403.3 kB / 0.7423 GB, free: 91.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.073, allocations: 372 kB / 0.7426 GB, free: 91.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (748): * Single equations (assignments): 739 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003318/1.076, allocations: 2.037 MB / 0.7446 GB, free: 89.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007215/1.077, allocations: 347.5 kB / 0.7449 GB, free: 88.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005351/1.082, allocations: 2.96 MB / 0.7478 GB, free: 85.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004392/1.087, allocations: 2.5 MB / 0.7503 GB, free: 83.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/1.087, allocations: 4 kB / 0.7503 GB, free: 83.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/1.087, allocations: 7.969 kB / 0.7503 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.104, allocations: 9.387 MB / 0.7594 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.104, allocations: 4 kB / 0.7595 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.105, allocations: 259.5 kB / 0.7597 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/1.108, allocations: 1.061 MB / 0.7607 GB, free: 72.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.108, allocations: 47.78 kB / 0.7608 GB, free: 72.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004028/1.112, allocations: 4.788 MB / 0.7655 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006541/1.113, allocations: 1.463 MB / 0.7669 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04797/1.161, allocations: 31.37 MB / 0.7975 GB, free: 33.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000613/1.162, allocations: 388.6 kB / 0.7979 GB, free: 33.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/1.162, allocations: 39.92 kB / 0.7979 GB, free: 33.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.163, allocations: 131.8 kB / 0.7981 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.163, allocations: 112.8 kB / 0.7982 GB, free: 33.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.164, allocations: 47.98 kB / 0.7982 GB, free: 33.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002627/1.166, allocations: 2.382 MB / 0.8005 GB, free: 30.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.166, allocations: 0 / 0.8005 GB, free: 30.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005144/1.171, allocations: 1.376 MB / 0.8019 GB, free: 29.49 MB / 490.7 MB 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004068/1.172, allocations: 180 kB / 0.802 GB, free: 29.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00808/1.18, allocations: 5.548 MB / 0.8075 GB, free: 23.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.18, allocations: 4 kB / 0.8075 GB, free: 23.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.183, allocations: 2.063 MB / 0.8095 GB, free: 21.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.186, allocations: 450.8 kB / 0.8099 GB, free: 21.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.204, allocations: 13.59 MB / 0.8232 GB, free: 7.383 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/1.208, allocations: 3.23 MB / 0.8263 GB, free: 4.121 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004412/1.213, allocations: 1.897 MB / 0.8282 GB, free: 2.215 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.214, allocations: 247.3 kB / 0.8284 GB, free: 1.973 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.214, allocations: 0 / 0.8284 GB, free: 1.973 MB / 490.7 MB Notification: Performance of Templates: time 0.3067/1.52, allocations: 45.95 MB / 0.8733 GB, free: 161 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches