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.001441/0.001441, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.265/1.265, allocations: 221.4 MB / 236 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009318, allocations: 95.67 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1754/0.1754, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.536e-05, allocations: 224 / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/0.452, allocations: 103.5 MB / 0.6027 GB, free: 1.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4522, allocations: 75.95 kB / 0.6028 GB, free: 1.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2034/0.6556, allocations: 86.46 MB / 0.6872 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6557, allocations: 0 / 0.6872 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001108/0.6558, allocations: 64 kB / 0.6873 GB, free: 10.58 MB / 0.4948 GB 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.006972/0.6628, allocations: 3.621 MB / 0.6908 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.6628, allocations: 12.03 kB / 0.6909 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.6784, allocations: 3.629 MB / 0.6944 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.6905, allocations: 4.752 MB / 0.699 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.6908, allocations: 287.4 kB / 0.6993 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.6919, allocations: 379.8 kB / 0.6997 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.7075, allocations: 9.997 MB / 0.7094 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.299e-05/0.7077, allocations: 35.64 kB / 0.7095 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005001/0.7082, allocations: 171.9 kB / 0.7096 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/0.7095, allocations: 1.156 MB / 0.7108 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2662/0.9758, allocations: 9.75 MB / 0.7203 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04723/1.023, allocations: 35.7 MB / 0.7551 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/1.029, allocations: 4.259 MB / 0.7593 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.032, allocations: 2.129 MB / 0.7614 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008428/1.033, allocations: 1.317 MB / 0.7627 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.033, allocations: 52.38 kB / 0.7627 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 5.26e-06/1.033, allocations: 3.188 kB / 0.7627 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=252): time 0.02872/1.061, allocations: 14.02 MB / 0.7764 GB, free: 105 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001113/1.063, allocations: 1.532 MB / 0.7779 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/1.068, allocations: 2.401 MB / 0.7803 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004663/1.068, allocations: 56.98 kB / 0.7803 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.07, allocations: 2.669 MB / 0.7829 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.071, allocations: 0.9203 MB / 0.7838 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000523/1.072, allocations: 107.5 kB / 0.7839 GB, free: 100 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004156/1.072, allocations: 0.5493 MB / 0.7845 GB, free: 99.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/1.075, allocations: 2.327 MB / 0.7867 GB, free: 98.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/1.079, allocations: 5.269 MB / 0.7919 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/1.084, allocations: 3.55 MB / 0.7953 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.822e-05/1.084, allocations: 34.72 kB / 0.7954 GB, free: 93.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01785/1.102, allocations: 9.199 MB / 0.8044 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.102, allocations: 48 kB / 0.8044 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01154/1.113, allocations: 4.471 MB / 0.8088 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009968/1.123, allocations: 2.065 MB / 0.8108 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004053/1.127, allocations: 1.251 MB / 0.812 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005692/1.133, allocations: 4.93 MB / 0.8168 GB, free: 78.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/1.137, allocations: 388.4 kB / 0.8172 GB, free: 78.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.138, allocations: 312.2 kB / 0.8175 GB, free: 78.05 MB / 0.5105 GB 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 () * 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.001458/1.14, allocations: 0.5045 MB / 0.818 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006003/1.141, allocations: 280.3 kB / 0.8182 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009279/1.15, allocations: 5.226 MB / 0.8233 GB, free: 73.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007715/1.158, allocations: 4.504 MB / 0.8277 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.158, allocations: 8 kB / 0.8278 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.158, allocations: 7.828 kB / 0.8278 GB, free: 69.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02515/1.183, allocations: 14.32 MB / 0.8417 GB, free: 57.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/1.183, allocations: 12 kB / 0.8418 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.185, allocations: 400.2 kB / 0.8421 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/1.189, allocations: 1.193 MB / 0.8433 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004576/1.189, allocations: 57.06 kB / 0.8434 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/1.193, allocations: 4.447 MB / 0.8477 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007066/1.194, allocations: 1.467 MB / 0.8491 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.205, allocations: 8.619 MB / 0.8576 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.206, allocations: 333.5 kB / 0.8579 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/1.207, allocations: 51.94 kB / 0.8579 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.209, allocations: 187.7 kB / 0.8581 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/1.21, allocations: 165.7 kB / 0.8583 GB, free: 39.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.21, allocations: 77.06 kB / 0.8583 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003091/1.213, allocations: 1.628 MB / 0.8599 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/1.213, allocations: 0 / 0.8599 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005117/1.218, allocations: 1.054 MB / 0.861 GB, free: 36.71 MB / 0.5105 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 () * 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.000687/1.219, allocations: 197.4 kB / 0.8611 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009201/1.228, allocations: 6.269 MB / 0.8673 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.228, allocations: 4.062 kB / 0.8673 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/1.232, allocations: 2.813 MB / 0.87 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.234, allocations: 360.1 kB / 0.8704 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/1.249, allocations: 8.935 MB / 0.8791 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003962/1.253, allocations: 3.323 MB / 0.8823 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004818/1.258, allocations: 2.063 MB / 0.8843 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009959/1.259, allocations: 219.4 kB / 0.8845 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/1.259, allocations: 0 / 0.8845 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.2924/1.552, allocations: 33.36 MB / 0.9171 GB, free: 131.2 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/jenkins/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