Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009911/0.0009911, allocations: 180.4 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009295, allocations: 97.78 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3203/0.3203, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 8 kB / 459.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3568, allocations: 61.9 MB / 0.5096 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4953, allocations: 108.6 MB / 0.6156 GB, free: 2.551 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4956, allocations: 75.97 kB / 0.6156 GB, free: 2.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4769/0.9725, allocations: 82.86 MB / 0.6966 GB, free: 95.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.9726, allocations: 0 / 0.6966 GB, free: 95.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002055/0.9728, allocations: 85.22 kB / 0.6966 GB, free: 95.56 MB / 490.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.01077/0.9836, allocations: 4.146 MB / 0.7007 GB, free: 93.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9836, allocations: 11.94 kB / 0.7007 GB, free: 93.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.9939, allocations: 2.318 MB / 0.703 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.008, allocations: 5.06 MB / 0.7079 GB, free: 92.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/1.008, allocations: 326.4 kB / 0.7082 GB, free: 92.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/1.01, allocations: 428.4 kB / 0.7086 GB, free: 92.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/1.03, allocations: 10.37 MB / 0.7188 GB, free: 89.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/1.03, allocations: 69.5 kB / 0.7188 GB, free: 89.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006303/1.031, allocations: 205.2 kB / 0.719 GB, free: 89.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001298/1.032, allocations: 0.9868 MB / 0.72 GB, free: 89.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/1.047, allocations: 8.392 MB / 0.7282 GB, free: 86.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04074/1.088, allocations: 48.1 MB / 0.7752 GB, free: 49.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007798/1.096, allocations: 3.713 MB / 0.7788 GB, free: 48.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009394/1.105, allocations: 7.64 MB / 0.7862 GB, free: 43.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.105, allocations: 45.84 kB / 0.7863 GB, free: 43.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 4.499e-06/1.105, allocations: 0 / 0.7863 GB, free: 43.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.03047/1.136, allocations: 14.18 MB / 0.8001 GB, free: 36.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008964/1.137, allocations: 1.6 MB / 0.8017 GB, free: 34.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004389/1.141, allocations: 3.436 MB / 0.805 GB, free: 31.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003035/1.141, allocations: 49.89 kB / 0.8051 GB, free: 31.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.143, allocations: 3.096 MB / 0.8081 GB, free: 28.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/1.143, allocations: 0.6473 MB / 0.8087 GB, free: 28.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002132/1.144, allocations: 119.8 kB / 0.8089 GB, free: 28.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002594/1.144, allocations: 0.5638 MB / 0.8094 GB, free: 27.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/1.146, allocations: 1.966 MB / 0.8113 GB, free: 25.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003702/1.15, allocations: 5.698 MB / 0.8169 GB, free: 18.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/1.154, allocations: 3.277 MB / 0.8201 GB, free: 15.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.009e-05/1.154, allocations: 40 kB / 0.8201 GB, free: 15.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01322/1.167, allocations: 8.223 MB / 0.8282 GB, free: 8.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/1.167, allocations: 67.95 kB / 0.8282 GB, free: 8.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00421/1.171, allocations: 2.506 MB / 0.8307 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/1.175, allocations: 1.138 MB / 0.8318 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00402/1.179, allocations: 1.365 MB / 0.8331 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/1.183, allocations: 4.76 MB / 0.8378 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.188, allocations: 390.3 kB / 0.8381 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/1.19, allocations: 367.9 kB / 0.8385 GB, free: 13.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * 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 (742): * Single equations (assignments): 733 * 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.0049/1.194, allocations: 2.047 MB / 0.8405 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008964/1.195, allocations: 343.5 kB / 0.8408 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00595/1.201, allocations: 2.907 MB / 0.8437 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004693/1.206, allocations: 2.448 MB / 0.8461 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.206, allocations: 0 / 0.8461 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.206, allocations: 7.984 kB / 0.8461 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.225, allocations: 9.245 MB / 0.8551 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.225, allocations: 4 kB / 0.8551 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.226, allocations: 256 kB / 0.8553 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.229, allocations: 1.01 MB / 0.8563 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/1.229, allocations: 47.86 kB / 0.8564 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005683/1.235, allocations: 4.927 MB / 0.8612 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001054/1.236, allocations: 1.466 MB / 0.8626 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008585/1.245, allocations: 5.655 MB / 0.8681 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.246, allocations: 400.5 kB / 0.8685 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/1.246, allocations: 34.8 kB / 0.8685 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.248, allocations: 123.9 kB / 0.8687 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.248, allocations: 112.7 kB / 0.8688 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.248, allocations: 51.97 kB / 0.8688 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00396/1.252, allocations: 2.375 MB / 0.8711 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/1.252, allocations: 0 / 0.8711 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00509/1.257, allocations: 1 MB / 0.8721 GB, free: 10.42 MB / 0.5261 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 (126): * Single equations (assignments): 119 * 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.0004554/1.258, allocations: 191.9 kB / 0.8723 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009214/1.267, allocations: 5.392 MB / 0.8776 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.267, allocations: 0 / 0.8776 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003869/1.271, allocations: 2.109 MB / 0.8796 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.273, allocations: 437 kB / 0.88 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2457/1.519, allocations: 10.91 MB / 0.8907 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.522, allocations: 3.26 MB / 0.8939 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004507/1.527, allocations: 1.863 MB / 0.8957 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/1.528, allocations: 240.3 kB / 0.8959 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/1.528, allocations: 0 / 0.8959 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.068/1.596, allocations: 33.25 MB / 0.9284 GB, free: 123 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches