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: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002171/0.002171, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 83.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.371, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01301/0.3841, allocations: 11.72 MB / 0.5431 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009735/0.3939, allocations: 3.932 MB / 0.5469 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.3971, allocations: 64.53 kB / 0.547 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.4004, allocations: 1.17 MB / 0.5482 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005118/0.4056, allocations: 1.724 MB / 0.5498 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.4074, allocations: 499 kB / 0.5503 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006207/0.4136, allocations: 4.065 MB / 0.5543 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.4165, allocations: 1.795 MB / 0.556 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.4188, allocations: 1.171 MB / 0.5572 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.4214, allocations: 1.651 MB / 0.5588 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008545/0.4222, allocations: 216 kB / 0.559 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.4248, allocations: 1.073 MB / 0.56 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.4264, allocations: 1.582 MB / 0.5616 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.4284, allocations: 1.836 MB / 0.5634 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006862/0.4353, allocations: 6.089 MB / 0.5693 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4353, allocations: 0 / 0.5693 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4353, allocations: 0 / 0.5693 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001863/0.4355, allocations: 4 kB / 0.5693 GB, free: 11.04 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.009554/0.4451, allocations: 4.096 MB / 0.5733 GB, free: 6.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.4451, allocations: 15.97 kB / 0.5733 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4567, allocations: 3.177 MB / 0.5764 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004736/0.4615, allocations: 2.018 MB / 0.5784 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4617, allocations: 180.8 kB / 0.5786 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.4631, allocations: 327.6 kB / 0.5789 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.481, allocations: 10.3 MB / 0.589 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.4812, allocations: 23.81 kB / 0.589 GB, free: 6.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009304/0.4821, allocations: 111.8 kB / 0.5891 GB, free: 6.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004008/0.4861, allocations: 2.44 MB / 0.5915 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.5049, allocations: 9.851 MB / 0.6011 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05047/0.5554, allocations: 34.41 MB / 0.6347 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/0.5634, allocations: 4.308 MB / 0.6389 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.5664, allocations: 2.169 MB / 0.641 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.5678, allocations: 1.314 MB / 0.6423 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.5678, allocations: 52.56 kB / 0.6424 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.44e-06/0.5679, allocations: 4 kB / 0.6424 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04228/0.6101, allocations: 16.72 MB / 0.6587 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001537/0.6117, allocations: 1.627 MB / 0.6603 GB, free: 11.71 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/0.6165, allocations: 2.668 MB / 0.6629 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005735/0.6171, allocations: 57.7 kB / 0.6629 GB, free: 8.957 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6193, allocations: 2.608 MB / 0.6655 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.6208, allocations: 0.9211 MB / 0.6664 GB, free: 5.375 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002806/0.6237, allocations: 1.1 MB / 0.6675 GB, free: 4.262 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6238, allocations: 301.1 kB / 0.6677 GB, free: 3.965 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.6278, allocations: 2.412 MB / 0.6701 GB, free: 1.547 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006142/0.6339, allocations: 5.339 MB / 0.6753 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6447, allocations: 8.422 MB / 0.6835 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/0.6449, allocations: 35.94 kB / 0.6836 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02423/0.6691, allocations: 9.696 MB / 0.693 GB, free: 7.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6693, allocations: 54.53 kB / 0.6931 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01431/0.6836, allocations: 4.884 MB / 0.6979 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.6955, allocations: 2.472 MB / 0.7003 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/0.7001, allocations: 1.248 MB / 0.7015 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/0.7094, allocations: 6.394 MB / 0.7077 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/0.7138, allocations: 395.5 kB / 0.7081 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.715, allocations: 316 kB / 0.7084 GB, free: 7.109 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.004739/0.7197, allocations: 2.016 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008372/0.7206, allocations: 272.4 kB / 0.7106 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.732, allocations: 5.318 MB / 0.7158 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009698/0.7417, allocations: 4.605 MB / 0.7203 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.7418, allocations: 4 kB / 0.7203 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.7418, allocations: 7.969 kB / 0.7204 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3585/1.1, allocations: 14.28 MB / 0.7343 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.1, allocations: 10.16 kB / 0.7343 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.102, allocations: 403.1 kB / 0.7347 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004466/1.107, allocations: 1.252 MB / 0.7359 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003667/1.107, allocations: 61.2 kB / 0.736 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004561/1.112, allocations: 4.741 MB / 0.7406 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000853/1.113, allocations: 1.551 MB / 0.7421 GB, free: 172.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.125, allocations: 7.991 MB / 0.7499 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00073/1.125, allocations: 329.8 kB / 0.7502 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005173/1.126, allocations: 59.19 kB / 0.7503 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.127, allocations: 197.7 kB / 0.7505 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.128, allocations: 157.9 kB / 0.7506 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.128, allocations: 80.86 kB / 0.7507 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.002008/1.13, allocations: 1.647 MB / 0.7523 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.11e-07/1.13, allocations: 0 / 0.7523 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00419/1.134, allocations: 1.033 MB / 0.7533 GB, free: 168.4 MB / 0.5763 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.0005188/1.135, allocations: 192.5 kB / 0.7535 GB, free: 168.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008889/1.144, allocations: 6.477 MB / 0.7598 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.144, allocations: 4 kB / 0.7598 GB, free: 165.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004399/1.148, allocations: 2.858 MB / 0.7626 GB, free: 162.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.15, allocations: 387.4 kB / 0.763 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.164, allocations: 10.64 MB / 0.7734 GB, free: 151.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/1.167, allocations: 3.191 MB / 0.7765 GB, free: 148.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.169, allocations: 267.3 kB / 0.7768 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of SimCode: time 5.81e-07/1.169, allocations: 0 / 0.7768 GB, free: 147.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.1113/1.28, allocations: 128.2 MB / 0.9019 GB, free: 19.75 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches