Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 183.8 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.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009654/0.0009655, allocations: 95.66 kB / 292.2 MB, free: 10.92 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.3353/0.3353, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 20 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3456, allocations: 61.89 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4887, allocations: 110.4 MB / 0.6174 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.4891, allocations: 87.91 kB / 0.6175 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5443/1.033, allocations: 118.2 MB / 0.7329 GB, free: 93.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.033, allocations: 4 kB / 0.7329 GB, free: 93.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003719/1.034, allocations: 119.5 kB / 0.733 GB, free: 93.61 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: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.01952/1.053, allocations: 6.322 MB / 0.7392 GB, free: 90.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.053, allocations: 6.5 kB / 0.7392 GB, free: 90.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02577/1.079, allocations: 6.971 MB / 0.746 GB, free: 89.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01977/1.099, allocations: 7.47 MB / 0.7533 GB, free: 86.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/1.1, allocations: 435.4 kB / 0.7537 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004036/1.104, allocations: 0.5712 MB / 0.7543 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03496/1.139, allocations: 13.67 MB / 0.7676 GB, free: 77.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006199/1.139, allocations: 82.36 kB / 0.7677 GB, free: 76.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003131/1.143, allocations: 271 kB / 0.768 GB, free: 76.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/1.145, allocations: 1.284 MB / 0.7692 GB, free: 75.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/1.17, allocations: 11.45 MB / 0.7804 GB, free: 64.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07675/1.246, allocations: 61.27 MB / 0.8402 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.261, allocations: 5.65 MB / 0.8457 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008961/1.262, allocations: 0.6915 MB / 0.8464 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.63e-05/1.262, allocations: 64.5 kB / 0.8465 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=245): time 6.732e-06/1.262, allocations: 0 / 0.8465 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.3991/1.661, allocations: 33.41 MB / 0.8791 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.661, allocations: 268 kB / 0.8794 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/1.668, allocations: 4.607 MB / 0.8839 GB, free: 113 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006576/1.669, allocations: 72.16 kB / 0.8839 GB, free: 113 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/1.671, allocations: 3.972 MB / 0.8878 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.672, allocations: 1.159 MB / 0.8889 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/1.673, allocations: 149.5 kB / 0.8891 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003166/1.673, allocations: 0.623 MB / 0.8897 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004156/1.677, allocations: 3.258 MB / 0.8929 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/1.684, allocations: 7.433 MB / 0.9001 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/1.692, allocations: 4.854 MB / 0.9049 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002499/1.693, allocations: 42.41 kB / 0.9049 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.0292/1.722, allocations: 12.4 MB / 0.917 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003674/1.722, allocations: 70.03 kB / 0.9171 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005275/1.723, allocations: 146.1 kB / 0.9172 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005964/1.729, allocations: 2.139 MB / 0.9193 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006414/1.735, allocations: 1.719 MB / 0.921 GB, free: 98.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.753, allocations: 14.82 MB / 0.9355 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006982/1.76, allocations: 451.6 kB / 0.9359 GB, free: 90.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/1.762, allocations: 443.9 kB / 0.9363 GB, free: 90.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (909): * Single equations (assignments): 904 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007035/1.769, allocations: 2.768 MB / 0.939 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.77, allocations: 487.8 kB / 0.9395 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/1.783, allocations: 6.967 MB / 0.9463 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/1.783, allocations: 29.78 kB / 0.9463 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.709e-05/1.783, allocations: 13.12 kB / 0.9463 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.756e-05/1.783, allocations: 17.62 kB / 0.9464 GB, free: 86.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03357/1.817, allocations: 15.82 MB / 0.9618 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/1.817, allocations: 10.78 kB / 0.9618 GB, free: 80.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.819, allocations: 0.4901 MB / 0.9623 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004708/1.824, allocations: 1.875 MB / 0.9641 GB, free: 79.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007148/1.825, allocations: 66.11 kB / 0.9642 GB, free: 79.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/1.842, allocations: 13.3 MB / 0.9772 GB, free: 70.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.842, allocations: 11.94 kB / 0.9772 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01901/1.861, allocations: 11.98 MB / 0.9889 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/1.863, allocations: 0.5322 MB / 0.9894 GB, free: 58.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/1.866, allocations: 64.52 kB / 0.9895 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/1.87, allocations: 212.5 kB / 0.9897 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009484/1.871, allocations: 204.2 kB / 0.9899 GB, free: 58.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005325/1.871, allocations: 83.47 kB / 0.99 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009282/1.88, allocations: 3.259 MB / 0.9931 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.064e-06/1.88, allocations: 0 / 0.9931 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0107/1.891, allocations: 1.475 MB / 0.9946 GB, free: 54.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (249): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/1.892, allocations: 218.1 kB / 0.9948 GB, free: 54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.905, allocations: 8.136 MB / 1.003 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.905, allocations: 4 kB / 1.003 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006762/1.912, allocations: 3.879 MB / 1.007 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/1.916, allocations: 0.6255 MB / 1.007 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/1.946, allocations: 16.5 MB / 1.023 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007905/1.954, allocations: 4.447 MB / 1.028 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006921/1.961, allocations: 2.453 MB / 1.03 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.963, allocations: 339.4 kB / 1.03 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/1.963, allocations: 4 kB / 1.03 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.3974/2.361, allocations: 60.04 MB / 1.089 GB, free: 131.8 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches