Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,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.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,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.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2511/0.2511, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 61.2 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01235/0.1297, allocations: 11.85 MB / 481.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008247/0.138, allocations: 3.941 MB / 485.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.1403, allocations: 59.88 kB / 485.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.1431, allocations: 1.191 MB / 487 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.1475, allocations: 1.783 MB / 488.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.149, allocations: 495 kB / 489.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005178/0.1542, allocations: 4.008 MB / 493.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.1571, allocations: 1.823 MB / 495.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.1593, allocations: 1.179 MB / 496.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/0.1619, allocations: 1.69 MB / 497.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000902/0.1628, allocations: 220 kB / 498.2 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.1656, allocations: 1.096 MB / 499.3 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00205/0.1676, allocations: 1.628 MB / 0.4891 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.1708, allocations: 1.882 MB / 0.491 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007276/0.1781, allocations: 5.977 MB / 0.4968 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.1781, allocations: 0 / 0.4968 GB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1781, allocations: 0 / 0.4968 GB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002125/0.1783, allocations: 3.938 kB / 0.4968 GB, free: 7.387 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.009397/0.1878, allocations: 4.194 MB / 0.5009 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1878, allocations: 16.02 kB / 0.5009 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2421/0.4299, allocations: 3.145 MB / 0.504 GB, free: 45.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/0.4349, allocations: 2.071 MB / 0.506 GB, free: 45.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4351, allocations: 186.4 kB / 0.5062 GB, free: 45.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.4364, allocations: 333.8 kB / 0.5065 GB, free: 45.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.4543, allocations: 10.49 MB / 0.5168 GB, free: 40.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.4544, allocations: 25.17 kB / 0.5168 GB, free: 40.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000428/0.4549, allocations: 118.8 kB / 0.5169 GB, free: 40.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004326/0.4592, allocations: 2.496 MB / 0.5193 GB, free: 40.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4769, allocations: 10 MB / 0.5291 GB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.5221, allocations: 35.03 MB / 0.5633 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/0.5305, allocations: 4.309 MB / 0.5675 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003302/0.5339, allocations: 2.162 MB / 0.5696 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.5351, allocations: 1.319 MB / 0.5709 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.5352, allocations: 48.56 kB / 0.571 GB, free: 6.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=236): time 5.8e-06/0.5352, allocations: 4.938 kB / 0.571 GB, free: 6.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.04132/0.5765, allocations: 16.75 MB / 0.5873 GB, free: 5.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001382/0.578, allocations: 1.614 MB / 0.5889 GB, free: 3.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.582, allocations: 2.707 MB / 0.5916 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004994/0.5825, allocations: 61.69 kB / 0.5916 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.5842, allocations: 2.663 MB / 0.5942 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/0.5855, allocations: 0.925 MB / 0.5951 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/0.5874, allocations: 1.111 MB / 0.5962 GB, free: 11.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5875, allocations: 301.1 kB / 0.5965 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/0.591, allocations: 2.424 MB / 0.5989 GB, free: 9.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/0.5965, allocations: 5.387 MB / 0.6041 GB, free: 2.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.6067, allocations: 8.493 MB / 0.6124 GB, free: 8.414 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.336e-05/0.6068, allocations: 28 kB / 0.6124 GB, free: 8.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02346/0.6303, allocations: 9.673 MB / 0.6219 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.6304, allocations: 48 kB / 0.6219 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01451/0.645, allocations: 4.824 MB / 0.6266 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/0.6572, allocations: 2.378 MB / 0.629 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004772/0.662, allocations: 1.259 MB / 0.6302 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009073/0.6711, allocations: 6.373 MB / 0.6364 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/0.6755, allocations: 391.6 kB / 0.6368 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009613/0.6765, allocations: 319.9 kB / 0.6371 GB, free: 14.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (678): * Single equations (assignments): 666 * Array equations: 8 * 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.004181/0.6807, allocations: 2.063 MB / 0.6391 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.6814, allocations: 272.4 kB / 0.6394 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.6923, allocations: 5.318 MB / 0.6446 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009809/0.7021, allocations: 4.597 MB / 0.6491 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.7022, allocations: 8 kB / 0.6491 GB, free: 2.465 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-05/0.7022, allocations: 11.95 kB / 0.6491 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02885/0.7311, allocations: 14.44 MB / 0.6632 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-05/0.7312, allocations: 8 kB / 0.6632 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/0.7335, allocations: 415.2 kB / 0.6636 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/0.7384, allocations: 1.248 MB / 0.6648 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006473/0.7391, allocations: 63.95 kB / 0.6649 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.7443, allocations: 4.739 MB / 0.6695 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001106/0.7455, allocations: 1.566 MB / 0.671 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.7607, allocations: 7.984 MB / 0.6788 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.7618, allocations: 337.4 kB / 0.6791 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.7628, allocations: 55.98 kB / 0.6792 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.765, allocations: 191.7 kB / 0.6794 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006263/0.7657, allocations: 164.8 kB / 0.6795 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000325/0.766, allocations: 75.97 kB / 0.6796 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003139/0.7691, allocations: 1.668 MB / 0.6812 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7692, allocations: 0 / 0.6812 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005834/0.775, allocations: 1.05 MB / 0.6823 GB, free: 15.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (192): * Single equations (assignments): 182 * Array equations: 6 * 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.0008144/0.7758, allocations: 203.9 kB / 0.6824 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01716/0.793, allocations: 9.915 MB / 0.6921 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/0.7931, allocations: 112 / 0.6921 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005808/0.7989, allocations: 2.855 MB / 0.6949 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/0.8016, allocations: 397.8 kB / 0.6953 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2643/1.066, allocations: 10.85 MB / 0.7059 GB, free: 170.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004572/1.071, allocations: 3.229 MB / 0.7091 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.072, allocations: 267.2 kB / 0.7093 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/1.072, allocations: 1 kB / 0.7093 GB, free: 169.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1444/1.216, allocations: 129.8 MB / 0.8361 GB, free: 53.83 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches