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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.308/1.308, allocations: 223.3 MB / 242.1 MB, free: 11.72 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.0007543/0.0007544, allocations: 93.42 kB / 293.3 MB, free: 10.8 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.3335/0.3335, allocations: 44.14 MB / 388.5 MB, free: 38.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005501/0.0005503, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3434, allocations: 61.88 MB / 0.5107 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.4732, allocations: 103.6 MB / 0.6119 GB, free: 7.422 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4735, allocations: 79.95 kB / 0.612 GB, free: 7.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4507/0.9241, allocations: 85 MB / 0.695 GB, free: 98.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.9242, allocations: 2.938 kB / 0.695 GB, free: 98.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001279/0.9243, allocations: 64.12 kB / 0.6951 GB, free: 98.74 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: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.008981/0.9333, allocations: 3.678 MB / 0.6987 GB, free: 97.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9334, allocations: 14.31 kB / 0.6987 GB, free: 97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.947, allocations: 3.565 MB / 0.7022 GB, free: 96.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007408/0.9544, allocations: 3.578 MB / 0.7057 GB, free: 96.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.9547, allocations: 285.1 kB / 0.7059 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.9565, allocations: 381.2 kB / 0.7063 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.9761, allocations: 10.03 MB / 0.7161 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.9763, allocations: 33.5 kB / 0.7161 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005272/0.9768, allocations: 177.4 kB / 0.7163 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001334/0.9782, allocations: 1.161 MB / 0.7174 GB, free: 94.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.9931, allocations: 9.817 MB / 0.727 GB, free: 91.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04276/1.036, allocations: 35.66 MB / 0.7618 GB, free: 69.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006827/1.043, allocations: 4.284 MB / 0.766 GB, free: 67.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/1.045, allocations: 2.155 MB / 0.7681 GB, free: 66.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009253/1.046, allocations: 1.311 MB / 0.7694 GB, free: 65.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.046, allocations: 56.41 kB / 0.7695 GB, free: 65.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 6.703e-06/1.046, allocations: 0 / 0.7695 GB, free: 65.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03199/1.078, allocations: 16.43 MB / 0.7855 GB, free: 54.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009025/1.079, allocations: 1.524 MB / 0.787 GB, free: 52.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003189/1.083, allocations: 2.713 MB / 0.7896 GB, free: 50.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004109/1.083, allocations: 65.61 kB / 0.7897 GB, free: 50.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009564/1.084, allocations: 2.662 MB / 0.7923 GB, free: 48.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007386/1.085, allocations: 0.9274 MB / 0.7932 GB, free: 47.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.085, allocations: 111.6 kB / 0.7933 GB, free: 47.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002699/1.085, allocations: 0.5427 MB / 0.7939 GB, free: 46.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002907/1.088, allocations: 2.381 MB / 0.7962 GB, free: 44.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/1.092, allocations: 5.337 MB / 0.8014 GB, free: 38.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/1.1, allocations: 8.415 MB / 0.8096 GB, free: 29.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.1, allocations: 28 kB / 0.8096 GB, free: 29.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01969/1.12, allocations: 9.3 MB / 0.8187 GB, free: 20.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.12, allocations: 49.25 kB / 0.8188 GB, free: 20.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01113/1.131, allocations: 4.511 MB / 0.8232 GB, free: 16.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008773/1.14, allocations: 2.043 MB / 0.8252 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/1.144, allocations: 1.252 MB / 0.8264 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/1.15, allocations: 4.962 MB / 0.8312 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/1.155, allocations: 379.6 kB / 0.8316 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/1.156, allocations: 319.6 kB / 0.8319 GB, free: 6.891 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (669): * Single equations (assignments): 657 * Array equations: 8 * 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.005198/1.162, allocations: 2.06 MB / 0.8339 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000817/1.162, allocations: 272.4 kB / 0.8342 GB, free: 4.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009616/1.172, allocations: 5.271 MB / 0.8393 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008544/1.181, allocations: 4.542 MB / 0.8438 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.181, allocations: 7.984 kB / 0.8438 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/1.181, allocations: 7.969 kB / 0.8438 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.208, allocations: 14.35 MB / 0.8578 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/1.208, allocations: 8 kB / 0.8578 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.21, allocations: 415 kB / 0.8582 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003947/1.214, allocations: 1.19 MB / 0.8593 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/1.214, allocations: 59.8 kB / 0.8594 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/1.219, allocations: 4.45 MB / 0.8638 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009987/1.22, allocations: 1.467 MB / 0.8652 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.234, allocations: 7.869 MB / 0.8729 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.235, allocations: 337.4 kB / 0.8732 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000904/1.236, allocations: 55.89 kB / 0.8732 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.238, allocations: 187.7 kB / 0.8734 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/1.238, allocations: 168.8 kB / 0.8736 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/1.239, allocations: 71.98 kB / 0.8737 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003912/1.243, allocations: 1.648 MB / 0.8753 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/1.243, allocations: 0 / 0.8753 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005601/1.248, allocations: 1.051 MB / 0.8763 GB, free: 8.57 MB / 0.5261 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 (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.0006811/1.249, allocations: 196.3 kB / 0.8765 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01098/1.26, allocations: 6.341 MB / 0.8827 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.26, allocations: 4.188 kB / 0.8827 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2437/1.504, allocations: 2.827 MB / 0.8854 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/1.509, allocations: 377.1 kB / 0.8858 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.528, allocations: 12.28 MB / 0.8978 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004126/1.532, allocations: 3.226 MB / 0.9009 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00503/1.537, allocations: 2.066 MB / 0.903 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/1.538, allocations: 210.2 kB / 0.9032 GB, free: 128 MB / 0.5261 GB Notification: Performance of SimCode: time 7.72e-07/1.538, allocations: 4 kB / 0.9032 GB, free: 128 MB / 0.5261 GB Notification: Performance of Templates: time 0.07276/1.611, allocations: 33.53 MB / 0.9359 GB, free: 126.3 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches