Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 71.89 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4098, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01312/0.423, allocations: 11.73 MB / 0.5425 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4352, allocations: 3.931 MB / 0.5463 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.4383, allocations: 59.97 kB / 0.5463 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.4418, allocations: 1.175 MB / 0.5475 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.4477, allocations: 1.766 MB / 0.5492 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4495, allocations: 0.4911 MB / 0.5497 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006818/0.4563, allocations: 4.051 MB / 0.5537 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003687/0.4601, allocations: 1.799 MB / 0.5554 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.4629, allocations: 1.171 MB / 0.5566 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003688/0.4666, allocations: 1.651 MB / 0.5582 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.4679, allocations: 216 kB / 0.5584 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.4711, allocations: 1.076 MB / 0.5594 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003014/0.4741, allocations: 1.582 MB / 0.561 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.4787, allocations: 1.832 MB / 0.5628 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.4907, allocations: 6.085 MB / 0.5687 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.4908, allocations: 0 / 0.5687 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4908, allocations: 0 / 0.5687 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004027/0.4913, allocations: 0 / 0.5687 GB, free: 11.01 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.01357/0.5048, allocations: 4.108 MB / 0.5727 GB, free: 6.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.5049, allocations: 12.03 kB / 0.5727 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.5168, allocations: 3.177 MB / 0.5758 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005509/0.5224, allocations: 2.018 MB / 0.5778 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.5226, allocations: 176.8 kB / 0.578 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.5241, allocations: 331.5 kB / 0.5783 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.5415, allocations: 10.3 MB / 0.5883 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.5417, allocations: 23.81 kB / 0.5884 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/0.5421, allocations: 115.8 kB / 0.5885 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004263/0.5463, allocations: 2.436 MB / 0.5909 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.5678, allocations: 9.855 MB / 0.6005 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05893/0.6268, allocations: 34.4 MB / 0.6341 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008352/0.6352, allocations: 4.305 MB / 0.6383 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00311/0.6384, allocations: 2.158 MB / 0.6404 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.6396, allocations: 1.318 MB / 0.6417 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.6397, allocations: 48.56 kB / 0.6417 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.639e-06/0.6397, allocations: 4 kB / 0.6417 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04094/0.6806, allocations: 16.73 MB / 0.6581 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001724/0.6824, allocations: 1.619 MB / 0.6596 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004391/0.6868, allocations: 2.664 MB / 0.6622 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008311/0.6877, allocations: 69.56 kB / 0.6623 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002325/0.69, allocations: 2.608 MB / 0.6649 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/0.6917, allocations: 0.9211 MB / 0.6658 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.6934, allocations: 1.1 MB / 0.6668 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6936, allocations: 301.1 kB / 0.6671 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/0.6972, allocations: 2.416 MB / 0.6695 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/0.7032, allocations: 5.335 MB / 0.6747 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.7146, allocations: 8.43 MB / 0.6829 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/0.7148, allocations: 28 kB / 0.6829 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02417/0.7389, allocations: 9.7 MB / 0.6924 GB, free: 7.141 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.7391, allocations: 48 kB / 0.6925 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01333/0.7524, allocations: 4.889 MB / 0.6972 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.7636, allocations: 2.46 MB / 0.6996 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/0.7684, allocations: 1.248 MB / 0.7009 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009183/0.7776, allocations: 6.401 MB / 0.7071 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005765/0.7835, allocations: 395.5 kB / 0.7075 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/0.7847, allocations: 320 kB / 0.7078 GB, free: 7.078 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.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 (672): * Single equations (assignments): 660 * 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.005169/0.7899, allocations: 2.016 MB / 0.7098 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007549/0.7907, allocations: 268.5 kB / 0.71 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.8013, allocations: 5.318 MB / 0.7152 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009273/0.8106, allocations: 4.609 MB / 0.7197 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.8107, allocations: 4 kB / 0.7197 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.8107, allocations: 7.969 kB / 0.7197 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4106/1.221, allocations: 14.28 MB / 0.7337 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.221, allocations: 9.125 kB / 0.7337 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.223, allocations: 403.6 kB / 0.7341 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004221/1.227, allocations: 1.249 MB / 0.7353 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.228, allocations: 60.8 kB / 0.7353 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004494/1.232, allocations: 4.733 MB / 0.74 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008071/1.233, allocations: 1.561 MB / 0.7415 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.245, allocations: 7.997 MB / 0.7493 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.246, allocations: 328.2 kB / 0.7496 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/1.246, allocations: 58.98 kB / 0.7497 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/1.247, allocations: 194.3 kB / 0.7498 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.248, allocations: 160 kB / 0.75 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/1.248, allocations: 81.91 kB / 0.7501 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002127/1.25, allocations: 1.641 MB / 0.7517 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.25, allocations: 3.719 kB / 0.7517 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003943/1.254, allocations: 1.026 MB / 0.7527 GB, free: 168.4 MB / 0.5762 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.000446/1.254, allocations: 194.5 kB / 0.7529 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.263, allocations: 6.469 MB / 0.7592 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.263, allocations: 6.812 kB / 0.7592 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003882/1.267, allocations: 2.855 MB / 0.762 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/1.27, allocations: 398.9 kB / 0.7624 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.283, allocations: 10.21 MB / 0.7723 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/1.285, allocations: 3.183 MB / 0.7754 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003584/1.289, allocations: 2.052 MB / 0.7774 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/1.289, allocations: 221.4 kB / 0.7777 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.723e-06/1.289, allocations: 0 / 0.7777 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05233/1.342, allocations: 34.25 MB / 0.8111 GB, free: 112.3 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches