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.001686/0.001687, allocations: 183.1 kB / 18.09 MB, free: 3.609 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.364/1.364, allocations: 223.3 MB / 242.1 MB, free: 9.98 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.0009144/0.0009142, allocations: 99.86 kB / 293.3 MB, free: 10.59 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.337/0.337, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005137, allocations: 12 kB / 461.1 MB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3742, allocations: 61.88 MB / 0.5107 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5172, allocations: 108.7 MB / 0.6168 GB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5175, allocations: 83.94 kB / 0.6169 GB, free: 2.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4873/1.005, allocations: 81.64 MB / 0.6966 GB, free: 95.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.005, allocations: 3.062 kB / 0.6966 GB, free: 95.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002517/1.005, allocations: 80.97 kB / 0.6967 GB, free: 95.1 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.01193/1.017, allocations: 4.057 MB / 0.7007 GB, free: 93.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.017, allocations: 13.94 kB / 0.7007 GB, free: 93.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/1.027, allocations: 2.255 MB / 0.7029 GB, free: 92.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.039, allocations: 3.873 MB / 0.7067 GB, free: 92.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/1.04, allocations: 317.6 kB / 0.707 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002803/1.043, allocations: 423.7 kB / 0.7074 GB, free: 92.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/1.066, allocations: 10.29 MB / 0.7174 GB, free: 89.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/1.067, allocations: 70.92 kB / 0.7175 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001414/1.068, allocations: 205.3 kB / 0.7177 GB, free: 89.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/1.07, allocations: 0.9849 MB / 0.7187 GB, free: 89.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/1.087, allocations: 8.281 MB / 0.7267 GB, free: 86.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/1.133, allocations: 48.05 MB / 0.7737 GB, free: 49.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/1.141, allocations: 3.698 MB / 0.7773 GB, free: 48.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/1.142, allocations: 1.559 MB / 0.7788 GB, free: 47.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009204/1.152, allocations: 7.575 MB / 0.7862 GB, free: 43.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/1.152, allocations: 55.06 kB / 0.7863 GB, free: 42.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 5.741e-06/1.152, allocations: 0 / 0.7863 GB, free: 42.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.04122/1.193, allocations: 13.92 MB / 0.7998 GB, free: 36.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009949/1.194, allocations: 1.588 MB / 0.8014 GB, free: 34.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007478/1.201, allocations: 3.86 MB / 0.8052 GB, free: 31.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003691/1.202, allocations: 49.7 kB / 0.8052 GB, free: 31.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/1.204, allocations: 3.094 MB / 0.8082 GB, free: 28.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008529/1.205, allocations: 0.6462 MB / 0.8089 GB, free: 28.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/1.205, allocations: 120 kB / 0.809 GB, free: 28.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004979/1.206, allocations: 0.5562 MB / 0.8095 GB, free: 27.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004225/1.21, allocations: 1.973 MB / 0.8114 GB, free: 25.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/1.215, allocations: 5.718 MB / 0.817 GB, free: 18.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007591/1.222, allocations: 8.336 MB / 0.8252 GB, free: 9.059 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/1.223, allocations: 40 kB / 0.8252 GB, free: 9.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.01437/1.237, allocations: 8.225 MB / 0.8332 GB, free: 1.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.237, allocations: 66.66 kB / 0.8333 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004881/1.242, allocations: 2.535 MB / 0.8358 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/1.246, allocations: 1.121 MB / 0.8369 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/1.25, allocations: 1.365 MB / 0.8382 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/1.256, allocations: 4.696 MB / 0.8428 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.261, allocations: 383.4 kB / 0.8432 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/1.262, allocations: 379.6 kB / 0.8435 GB, free: 7.684 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.005057/1.267, allocations: 2.039 MB / 0.8455 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009638/1.268, allocations: 339.6 kB / 0.8458 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.275, allocations: 2.907 MB / 0.8487 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004641/1.28, allocations: 2.449 MB / 0.8511 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.28, allocations: 8.297 kB / 0.8511 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.28, allocations: 11.97 kB / 0.8511 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/1.3, allocations: 9.229 MB / 0.8601 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.3, allocations: 8.062 kB / 0.8601 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.301, allocations: 251.6 kB / 0.8603 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/1.304, allocations: 1.021 MB / 0.8613 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.304, allocations: 47.53 kB / 0.8614 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/1.31, allocations: 4.838 MB / 0.8661 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001008/1.311, allocations: 1.458 MB / 0.8675 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008491/1.319, allocations: 5.192 MB / 0.8726 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.32, allocations: 404.4 kB / 0.873 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007353/1.321, allocations: 35.98 kB / 0.873 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.323, allocations: 127.8 kB / 0.8732 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.323, allocations: 104.7 kB / 0.8733 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.323, allocations: 51.97 kB / 0.8733 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005357/1.329, allocations: 2.379 MB / 0.8756 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.329, allocations: 0 / 0.8756 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006431/1.335, allocations: 1.015 MB / 0.8766 GB, free: 5.109 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.0006222/1.336, allocations: 178.8 kB / 0.8768 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2515/1.587, allocations: 5.385 MB / 0.882 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.587, allocations: 1.781 kB / 0.882 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004146/1.592, allocations: 2.104 MB / 0.8841 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/1.596, allocations: 451.3 kB / 0.8845 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.612, allocations: 10.95 MB / 0.8952 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/1.616, allocations: 3.174 MB / 0.8983 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004913/1.621, allocations: 1.867 MB / 0.9002 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/1.621, allocations: 234.9 kB / 0.9004 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/1.621, allocations: 4 kB / 0.9004 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.07143/1.693, allocations: 33.37 MB / 0.933 GB, free: 121.4 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/jenkins1/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