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.0008984/0.0008982, allocations: 98.97 kB / 16.98 MB, free: 5.938 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.0009428/0.0009428, allocations: 185.4 kB / 17.88 MB, free: 5.594 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.349/1.349, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2064/0.2064, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003865, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 61.93 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02667/0.1813, allocations: 25.02 MB / 496.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.1993, allocations: 6.66 MB / 0.4913 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006526/0.2059, allocations: 123.6 kB / 0.4915 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00462/0.2106, allocations: 1.279 MB / 0.4927 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.2234, allocations: 3.92 MB / 0.4965 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.2255, allocations: 395.3 kB / 0.4969 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004358/0.2299, allocations: 2.155 MB / 0.499 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.2337, allocations: 2.147 MB / 0.5011 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.2354, allocations: 0.8719 MB / 0.502 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.2372, allocations: 1.184 MB / 0.5031 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.2377, allocations: 127.9 kB / 0.5032 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.2395, allocations: 0.8816 MB / 0.5041 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2691/0.5086, allocations: 1.409 MB / 0.5055 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.5103, allocations: 0.7456 MB / 0.5062 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.5208, allocations: 4.731 MB / 0.5108 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5209, allocations: 1.281 kB / 0.5108 GB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.5209, allocations: 0 / 0.5108 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003682/0.5213, allocations: 0 / 0.5108 GB, free: 13.25 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.01282/0.5341, allocations: 3.591 MB / 0.5143 GB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.5342, allocations: 9.875 kB / 0.5143 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.549, allocations: 3.836 MB / 0.5181 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009101/0.5581, allocations: 2.241 MB / 0.5203 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/0.5587, allocations: 186.8 kB / 0.5205 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00314/0.5618, allocations: 330.8 kB / 0.5208 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.5874, allocations: 10.54 MB / 0.5311 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.5877, allocations: 37.55 kB / 0.5311 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004922/0.5882, allocations: 112.7 kB / 0.5312 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/0.5925, allocations: 2.5 MB / 0.5336 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02265/0.6152, allocations: 10.04 MB / 0.5434 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06754/0.6828, allocations: 35.14 MB / 0.5778 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008957/0.6918, allocations: 4.309 MB / 0.582 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.6934, allocations: 1.319 MB / 0.5833 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.6935, allocations: 52.56 kB / 0.5833 GB, free: 14.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 8.306e-06/0.6935, allocations: 3.188 kB / 0.5833 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04454/0.7381, allocations: 17.29 MB / 0.6002 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001592/0.7397, allocations: 1.528 MB / 0.6017 GB, free: 10.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/0.7447, allocations: 2.936 MB / 0.6045 GB, free: 7.988 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008325/0.7456, allocations: 56.67 kB / 0.6046 GB, free: 7.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002032/0.7476, allocations: 2.664 MB / 0.6072 GB, free: 5.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001716/0.7493, allocations: 0.9225 MB / 0.6081 GB, free: 4.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003104/0.7496, allocations: 109.5 kB / 0.6082 GB, free: 4.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003929/0.75, allocations: 0.5455 MB / 0.6087 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/0.7539, allocations: 2.404 MB / 0.6111 GB, free: 1.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/0.7606, allocations: 5.347 MB / 0.6163 GB, free: 10.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006605/0.7673, allocations: 3.582 MB / 0.6198 GB, free: 7.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.966e-05/0.7674, allocations: 32 kB / 0.6198 GB, free: 7.027 MB / 462.1 MB Notification: Performance of matching and sorting (n=732) (initialization): time 0.0268/0.7942, allocations: 9.618 MB / 0.6292 GB, free: 14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.7943, allocations: 48 kB / 0.6293 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01404/0.8084, allocations: 4.819 MB / 0.634 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.8198, allocations: 2.39 MB / 0.6363 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005102/0.8249, allocations: 1.255 MB / 0.6375 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008763/0.8337, allocations: 6.144 MB / 0.6435 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005496/0.8392, allocations: 402.2 kB / 0.6439 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/0.841, allocations: 316 kB / 0.6442 GB, free: 14.43 MB / 494.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 (670): * Single equations (assignments): 658 * 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.005671/0.8466, allocations: 2.064 MB / 0.6462 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007691/0.8474, allocations: 272.4 kB / 0.6465 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/0.858, allocations: 5.32 MB / 0.6517 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009431/0.8675, allocations: 4.581 MB / 0.6562 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.299e-05/0.8676, allocations: 8 kB / 0.6562 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.8676, allocations: 9.609 kB / 0.6562 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0404/0.908, allocations: 14.44 MB / 0.6703 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/0.9081, allocations: 12 kB / 0.6703 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.9103, allocations: 404.2 kB / 0.6707 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004882/0.9152, allocations: 1.244 MB / 0.6719 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007676/0.916, allocations: 59.41 kB / 0.672 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006847/0.9229, allocations: 4.528 MB / 0.6764 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001415/0.9243, allocations: 1.477 MB / 0.6778 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/0.9449, allocations: 8.781 MB / 0.6864 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.9461, allocations: 341.5 kB / 0.6867 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007747/0.9469, allocations: 63.42 kB / 0.6868 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.9485, allocations: 199.6 kB / 0.687 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.9489, allocations: 160.9 kB / 0.6871 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.9491, allocations: 75.97 kB / 0.6872 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003006/0.9521, allocations: 1.826 MB / 0.689 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9521, allocations: 0 / 0.689 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005354/0.9575, allocations: 1.073 MB / 0.69 GB, free: 14.42 MB / 0.5294 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.0007581/0.9582, allocations: 216.2 kB / 0.6902 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01196/0.9702, allocations: 6.37 MB / 0.6965 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.9702, allocations: 4 kB / 0.6965 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/0.9755, allocations: 2.832 MB / 0.6992 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.9779, allocations: 355.5 kB / 0.6996 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2868/1.265, allocations: 12.19 MB / 0.7115 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004821/1.27, allocations: 3.317 MB / 0.7147 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005414/1.275, allocations: 2.072 MB / 0.7167 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.276, allocations: 220.2 kB / 0.7169 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/1.276, allocations: 0 / 0.7169 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.06224/1.338, allocations: 35.04 MB / 0.7512 GB, free: 137.5 MB / 0.5294 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