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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 97.44 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3794/0.3794, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 67.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4331, allocations: 62.02 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02005/0.4532, allocations: 29.28 MB / 0.5438 GB, free: 16.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.4662, allocations: 6.889 MB / 0.5505 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.4722, allocations: 121.6 kB / 0.5506 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.4748, allocations: 1.145 MB / 0.5517 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004353/0.4792, allocations: 1.655 MB / 0.5533 GB, free: 11.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.4807, allocations: 455.6 kB / 0.5538 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008869/0.4896, allocations: 5.656 MB / 0.5593 GB, free: 9.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.493, allocations: 1.776 MB / 0.561 GB, free: 8.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.4956, allocations: 1.026 MB / 0.562 GB, free: 7.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.4988, allocations: 1.788 MB / 0.5638 GB, free: 6.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009761/0.4998, allocations: 158.7 kB / 0.5639 GB, free: 6.883 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.5026, allocations: 1.076 MB / 0.565 GB, free: 6.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.5046, allocations: 1.587 MB / 0.5665 GB, free: 4.844 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002268/0.5068, allocations: 1.839 MB / 0.5683 GB, free: 2.992 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005972/0.5128, allocations: 5.913 MB / 0.5741 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.5129, allocations: 0 / 0.5741 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5129, allocations: 0 / 0.5741 GB, free: 13.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.925e-05/0.513, allocations: 0 / 0.5741 GB, free: 13.06 MB / 394.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.00687/0.5199, allocations: 4.19 MB / 0.5782 GB, free: 8.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5199, allocations: 12.03 kB / 0.5782 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.5308, allocations: 3.208 MB / 0.5813 GB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/0.5352, allocations: 2.029 MB / 0.5833 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5353, allocations: 180.9 kB / 0.5835 GB, free: 3.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.536, allocations: 335.7 kB / 0.5838 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.55, allocations: 10.47 MB / 0.594 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-05/0.5501, allocations: 35.7 kB / 0.5941 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.5505, allocations: 119.8 kB / 0.5942 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003682/0.5542, allocations: 2.495 MB / 0.5966 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.5718, allocations: 10 MB / 0.6064 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05271/0.6246, allocations: 35.03 MB / 0.6406 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/0.6326, allocations: 4.296 MB / 0.6448 GB, free: 2.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003388/0.636, allocations: 2.155 MB / 0.6469 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.6375, allocations: 1.311 MB / 0.6482 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.6376, allocations: 56.56 kB / 0.6482 GB, free: 15.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 7.374e-06/0.6376, allocations: 3.938 kB / 0.6482 GB, free: 15.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.04021/0.6779, allocations: 16.77 MB / 0.6646 GB, free: 14.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001344/0.6792, allocations: 1.539 MB / 0.6661 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.6841, allocations: 2.705 MB / 0.6688 GB, free: 9.934 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000483/0.6847, allocations: 53.7 kB / 0.6688 GB, free: 9.875 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/0.6868, allocations: 2.667 MB / 0.6714 GB, free: 7.168 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.6883, allocations: 0.9251 MB / 0.6723 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/0.6909, allocations: 1.111 MB / 0.6734 GB, free: 5.105 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.691, allocations: 305.1 kB / 0.6737 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003915/0.6949, allocations: 2.424 MB / 0.6761 GB, free: 2.375 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3008/0.9958, allocations: 5.386 MB / 0.6813 GB, free: 124.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.007, allocations: 8.48 MB / 0.6896 GB, free: 118.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/1.007, allocations: 28.34 kB / 0.6896 GB, free: 118.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=740) (initialization): time 0.02353/1.031, allocations: 9.754 MB / 0.6991 GB, free: 116 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.031, allocations: 49.88 kB / 0.6992 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01608/1.047, allocations: 4.892 MB / 0.704 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/1.061, allocations: 2.459 MB / 0.7064 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005148/1.066, allocations: 1.26 MB / 0.7076 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008405/1.074, allocations: 5.879 MB / 0.7133 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004622/1.079, allocations: 389 kB / 0.7137 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/1.081, allocations: 319.7 kB / 0.714 GB, free: 111.1 MB / 490.7 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.005064/1.086, allocations: 2.065 MB / 0.716 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008441/1.087, allocations: 272.2 kB / 0.7163 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00993/1.096, allocations: 5.318 MB / 0.7215 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007877/1.104, allocations: 4.598 MB / 0.726 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.104, allocations: 2.016 kB / 0.726 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/1.104, allocations: 15.91 kB / 0.726 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.127, allocations: 14.43 MB / 0.7401 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.127, allocations: 12 kB / 0.7401 GB, free: 94.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.129, allocations: 407.3 kB / 0.7405 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004392/1.133, allocations: 1.244 MB / 0.7417 GB, free: 92.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003578/1.133, allocations: 63.95 kB / 0.7418 GB, free: 92.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/1.137, allocations: 4.436 MB / 0.7461 GB, free: 88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006824/1.138, allocations: 1.461 MB / 0.7475 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0544/1.192, allocations: 28.18 MB / 0.775 GB, free: 57.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009837/1.193, allocations: 329.5 kB / 0.7754 GB, free: 57.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009071/1.194, allocations: 63.83 kB / 0.7754 GB, free: 57.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.196, allocations: 195.7 kB / 0.7756 GB, free: 57.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/1.197, allocations: 163.3 kB / 0.7758 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.197, allocations: 80.11 kB / 0.7758 GB, free: 57.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001938/1.199, allocations: 1.668 MB / 0.7775 GB, free: 55.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 4 kB / 0.7775 GB, free: 55.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005033/1.204, allocations: 1.315 MB / 0.7788 GB, free: 54.05 MB / 490.7 MB 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.0004502/1.204, allocations: 201.7 kB / 0.7789 GB, free: 53.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008846/1.213, allocations: 6.432 MB / 0.7852 GB, free: 47.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.213, allocations: 4 kB / 0.7852 GB, free: 47.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004159/1.218, allocations: 2.844 MB / 0.788 GB, free: 44.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.22, allocations: 378.8 kB / 0.7884 GB, free: 44.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.239, allocations: 15.24 MB / 0.8032 GB, free: 28.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/1.243, allocations: 3.315 MB / 0.8065 GB, free: 25.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004312/1.248, allocations: 2.079 MB / 0.8085 GB, free: 23.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/1.249, allocations: 215.4 kB / 0.8087 GB, free: 22.96 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/1.249, allocations: 7.938 kB / 0.8087 GB, free: 22.95 MB / 490.7 MB Notification: Performance of Templates: time 0.06573/1.314, allocations: 41.79 MB / 0.8495 GB, free: 13.3 MB / 0.5105 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches