Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001581/0.001581, allocations: 177 kB / 16.77 MB, free: 4.926 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.461/1.461, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007873/0.0007873, allocations: 82.41 kB / 271.3 MB, free: 8.234 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.3153/0.3153, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.325/0.4409, allocations: 107.2 MB / 0.5846 GB, free: 10.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4412, allocations: 79.95 kB / 0.5847 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2138/0.655, allocations: 82.76 MB / 0.6655 GB, free: 7.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.6551, allocations: 3.938 kB / 0.6655 GB, free: 7.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003123/0.6554, allocations: 83.94 kB / 0.6656 GB, free: 7.352 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.01291/0.6683, allocations: 4.151 MB / 0.6697 GB, free: 3.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.6684, allocations: 8.031 kB / 0.6697 GB, free: 3.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.6789, allocations: 2.288 MB / 0.6719 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2351/0.9141, allocations: 4.067 MB / 0.6759 GB, free: 91.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.9144, allocations: 331.1 kB / 0.6762 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.916, allocations: 432.7 kB / 0.6766 GB, free: 91.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.9344, allocations: 10.57 MB / 0.6869 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.9346, allocations: 63.45 kB / 0.687 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00055/0.9351, allocations: 216.5 kB / 0.6872 GB, free: 88.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.9364, allocations: 1.025 MB / 0.6882 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.9511, allocations: 8.54 MB / 0.6965 GB, free: 88.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/1, allocations: 48.91 MB / 0.7443 GB, free: 54.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008579/1.009, allocations: 3.815 MB / 0.748 GB, free: 52.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/1.011, allocations: 1.595 MB / 0.7496 GB, free: 51.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/1.021, allocations: 7.745 MB / 0.7571 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/1.021, allocations: 46.34 kB / 0.7572 GB, free: 47.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.36e-06/1.021, allocations: 0 / 0.7572 GB, free: 47.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.03321/1.054, allocations: 14.33 MB / 0.7712 GB, free: 41.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008968/1.055, allocations: 1.587 MB / 0.7727 GB, free: 40.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004905/1.06, allocations: 3.935 MB / 0.7766 GB, free: 38.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002467/1.06, allocations: 48.8 kB / 0.7766 GB, free: 38.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.062, allocations: 3.186 MB / 0.7797 GB, free: 36.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/1.062, allocations: 0.6767 MB / 0.7804 GB, free: 35.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/1.062, allocations: 119.5 kB / 0.7805 GB, free: 35.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/1.063, allocations: 0.5637 MB / 0.7811 GB, free: 35.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.065, allocations: 2.032 MB / 0.783 GB, free: 34.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.069, allocations: 5.859 MB / 0.7888 GB, free: 28.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007138/1.076, allocations: 8.553 MB / 0.7971 GB, free: 21.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-05/1.076, allocations: 40.62 kB / 0.7972 GB, free: 21.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01366/1.09, allocations: 8.416 MB / 0.8054 GB, free: 18.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/1.09, allocations: 64.97 kB / 0.8054 GB, free: 18.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004209/1.094, allocations: 2.601 MB / 0.808 GB, free: 17.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/1.097, allocations: 1.117 MB / 0.8091 GB, free: 17.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.101, allocations: 1.41 MB / 0.8104 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/1.105, allocations: 4.7 MB / 0.815 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005191/1.11, allocations: 403.9 kB / 0.8154 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/1.111, allocations: 378.1 kB / 0.8158 GB, free: 12.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (764): * Single equations (assignments): 755 * 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.004675/1.116, allocations: 2.097 MB / 0.8178 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/1.117, allocations: 347.3 kB / 0.8182 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/1.122, allocations: 3.027 MB / 0.8211 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003993/1.126, allocations: 2.543 MB / 0.8236 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.126, allocations: 7.938 kB / 0.8236 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.126, allocations: 7.031 kB / 0.8236 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02082/1.147, allocations: 9.661 MB / 0.833 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.147, allocations: 4.469 kB / 0.8331 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.149, allocations: 279 kB / 0.8333 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/1.151, allocations: 1.014 MB / 0.8343 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/1.152, allocations: 43.75 kB / 0.8344 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005209/1.157, allocations: 4.809 MB / 0.839 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001001/1.158, allocations: 1.447 MB / 0.8405 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009166/1.167, allocations: 5.368 MB / 0.8457 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/1.168, allocations: 400.7 kB / 0.8461 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007771/1.169, allocations: 38.91 kB / 0.8461 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.171, allocations: 139.5 kB / 0.8463 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/1.171, allocations: 114.7 kB / 0.8464 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.171, allocations: 47.56 kB / 0.8464 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004844/1.176, allocations: 2.429 MB / 0.8488 GB, free: 356 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/1.176, allocations: 0 / 0.8488 GB, free: 356 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009943/1.186, allocations: 1.369 MB / 0.8501 GB, free: 0 / 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.0007029/1.187, allocations: 194 kB / 0.8503 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.197, allocations: 5.531 MB / 0.8557 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.197, allocations: 4 kB / 0.8557 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004104/1.201, allocations: 2.116 MB / 0.8578 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/1.207, allocations: 454 kB / 0.8582 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2401/1.447, allocations: 11.3 MB / 0.8692 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/1.452, allocations: 3.251 MB / 0.8724 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005239/1.458, allocations: 1.91 MB / 0.8743 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/1.458, allocations: 242.6 kB / 0.8745 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.458, allocations: 1.375 kB / 0.8745 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.06562/1.524, allocations: 34.08 MB / 0.9078 GB, free: 105.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/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_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches