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.001871/0.001871, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002171, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4549, allocations: 62.43 MB / 0.531 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01345/0.4684, allocations: 11.72 MB / 0.5424 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009939/0.4784, allocations: 3.935 MB / 0.5463 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.4817, allocations: 60.25 kB / 0.5463 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003335/0.4851, allocations: 1.174 MB / 0.5475 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.4916, allocations: 1.726 MB / 0.5492 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.4935, allocations: 0.4951 MB / 0.5497 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.5003, allocations: 4.059 MB / 0.5536 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.5038, allocations: 1.787 MB / 0.5554 GB, free: 8.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.5062, allocations: 1.152 MB / 0.5565 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.5092, allocations: 1.662 MB / 0.5581 GB, free: 6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008683/0.5101, allocations: 216 kB / 0.5583 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.5129, allocations: 1.073 MB / 0.5594 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00233/0.5152, allocations: 1.582 MB / 0.5609 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.5186, allocations: 1.84 MB / 0.5627 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009782/0.5284, allocations: 6.12 MB / 0.5687 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5285, allocations: 0 / 0.5687 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5285, allocations: 0 / 0.5687 GB, free: 11.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003296/0.5288, allocations: 0 / 0.5687 GB, free: 11.13 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.01189/0.5407, allocations: 4.206 MB / 0.5728 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5408, allocations: 8.031 kB / 0.5728 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.5528, allocations: 3.207 MB / 0.5759 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/0.5579, allocations: 2.026 MB / 0.5779 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.5581, allocations: 180.8 kB / 0.5781 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.5597, allocations: 331.7 kB / 0.5784 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.5794, allocations: 10.3 MB / 0.5885 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.5796, allocations: 31.7 kB / 0.5885 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/0.5806, allocations: 115.8 kB / 0.5886 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00438/0.585, allocations: 2.432 MB / 0.591 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.6085, allocations: 9.859 MB / 0.6006 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05738/0.666, allocations: 34.46 MB / 0.6343 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.6764, allocations: 4.308 MB / 0.6385 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003766/0.6803, allocations: 2.158 MB / 0.6406 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.6819, allocations: 1.322 MB / 0.6419 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.824e-05/0.682, allocations: 52.56 kB / 0.6419 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 9.648e-06/0.682, allocations: 0 / 0.6419 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.0403/0.7223, allocations: 16.8 MB / 0.6583 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001259/0.7236, allocations: 1.623 MB / 0.6599 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.7276, allocations: 2.672 MB / 0.6625 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.7279, allocations: 61.69 kB / 0.6626 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.7296, allocations: 2.718 MB / 0.6652 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009375/0.7306, allocations: 0.9649 MB / 0.6662 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.7324, allocations: 1.104 MB / 0.6672 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7325, allocations: 309.1 kB / 0.6675 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003677/0.7362, allocations: 2.412 MB / 0.6699 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006654/0.7429, allocations: 5.339 MB / 0.6751 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/0.755, allocations: 8.43 MB / 0.6833 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7551, allocations: 28 kB / 0.6834 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02477/0.7799, allocations: 9.713 MB / 0.6929 GB, free: 6.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.7801, allocations: 48 kB / 0.6929 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01494/0.7951, allocations: 4.893 MB / 0.6977 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/0.8068, allocations: 2.453 MB / 0.7001 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/0.8118, allocations: 1.263 MB / 0.7013 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009354/0.8212, allocations: 6.402 MB / 0.7076 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/0.8257, allocations: 391.6 kB / 0.7079 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/0.8269, allocations: 320 kB / 0.7082 GB, free: 6.77 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.004855/0.8318, allocations: 2.024 MB / 0.7102 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008496/0.8327, allocations: 286.1 kB / 0.7105 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3983/1.231, allocations: 5.311 MB / 0.7157 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01009/1.241, allocations: 4.602 MB / 0.7202 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/1.241, allocations: 1.375 kB / 0.7202 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.241, allocations: 10.12 kB / 0.7202 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/1.268, allocations: 14.28 MB / 0.7341 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.268, allocations: 11 kB / 0.7341 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.27, allocations: 403.3 kB / 0.7345 GB, free: 157 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004048/1.274, allocations: 1.241 MB / 0.7357 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002216/1.274, allocations: 63.44 kB / 0.7358 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/1.278, allocations: 4.747 MB / 0.7404 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007401/1.279, allocations: 1.56 MB / 0.7419 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.289, allocations: 8.009 MB / 0.7498 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/1.29, allocations: 341.6 kB / 0.7501 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/1.291, allocations: 52.64 kB / 0.7501 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.292, allocations: 199.2 kB / 0.7503 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/1.292, allocations: 165.1 kB / 0.7505 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/1.293, allocations: 75.89 kB / 0.7506 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002215/1.295, allocations: 1.647 MB / 0.7522 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.563e-06/1.295, allocations: 0 / 0.7522 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004479/1.299, allocations: 1.024 MB / 0.7532 GB, free: 140.4 MB / 0.5606 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.0004933/1.3, allocations: 200.9 kB / 0.7534 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009117/1.309, allocations: 6.473 MB / 0.7597 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.309, allocations: 4 kB / 0.7597 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004226/1.313, allocations: 2.857 MB / 0.7625 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.316, allocations: 397.9 kB / 0.7629 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.331, allocations: 10.35 MB / 0.773 GB, free: 120 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/1.334, allocations: 3.185 MB / 0.7761 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003948/1.338, allocations: 2.048 MB / 0.7781 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/1.339, allocations: 219.4 kB / 0.7783 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/1.339, allocations: 0 / 0.7783 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05587/1.394, allocations: 34.25 MB / 0.8117 GB, free: 80.41 MB / 0.5606 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