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.0008008/0.0008008, allocations: 94.2 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009496/0.0009497, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1987/0.1987, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 63.57 MB / 483.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02376/0.1423, allocations: 24.66 MB / 0.4965 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.1566, allocations: 6.154 MB / 0.5025 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00508/0.1617, allocations: 103.8 kB / 0.5026 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.1632, allocations: 426.2 kB / 0.503 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.1677, allocations: 1.632 MB / 0.5046 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.169, allocations: 467.2 kB / 0.505 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2398/0.4088, allocations: 5.508 MB / 0.5104 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/0.4138, allocations: 2.268 MB / 0.5126 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.4166, allocations: 0.9333 MB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.4202, allocations: 1.681 MB / 0.5152 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.4213, allocations: 122.4 kB / 0.5153 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.4245, allocations: 1.049 MB / 0.5163 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003654/0.4281, allocations: 1.516 MB / 0.5178 GB, free: 11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003669/0.4318, allocations: 1.755 MB / 0.5195 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006527/0.4384, allocations: 4.598 MB / 0.524 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4384, allocations: 5.75 kB / 0.524 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4384, allocations: 0 / 0.524 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001988/0.4386, allocations: 1.125 kB / 0.524 GB, free: 9.711 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.008219/0.4469, allocations: 3.379 MB / 0.5273 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4469, allocations: 13.38 kB / 0.5273 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4586, allocations: 3.264 MB / 0.5305 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/0.4631, allocations: 1.994 MB / 0.5325 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.4633, allocations: 181.8 kB / 0.5326 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.4646, allocations: 332.4 kB / 0.5329 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.4788, allocations: 10.3 MB / 0.543 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-05/0.479, allocations: 29.69 kB / 0.543 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.4793, allocations: 112.6 kB / 0.5431 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003791/0.4831, allocations: 2.441 MB / 0.5455 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.5016, allocations: 9.854 MB / 0.5552 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0535/0.5552, allocations: 34.6 MB / 0.5889 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008284/0.5635, allocations: 4.31 MB / 0.5932 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/0.5667, allocations: 2.158 MB / 0.5953 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.568, allocations: 1.311 MB / 0.5965 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.568, allocations: 55.36 kB / 0.5966 GB, free: 8.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 6.653e-06/0.5681, allocations: 0 / 0.5966 GB, free: 8.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.0424/0.6105, allocations: 16.74 MB / 0.6129 GB, free: 7.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0014/0.6119, allocations: 1.519 MB / 0.6144 GB, free: 5.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/0.6171, allocations: 2.671 MB / 0.617 GB, free: 3.145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005122/0.6176, allocations: 53.7 kB / 0.6171 GB, free: 3.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00202/0.6196, allocations: 2.61 MB / 0.6196 GB, free: 484 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/0.6211, allocations: 0.9257 MB / 0.6205 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.6223, allocations: 492.8 kB / 0.621 GB, free: 15.06 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.6224, allocations: 305.1 kB / 0.6213 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/0.6265, allocations: 2.408 MB / 0.6237 GB, free: 12.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/0.6326, allocations: 5.347 MB / 0.6289 GB, free: 5.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6438, allocations: 8.427 MB / 0.6371 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/0.644, allocations: 31.94 kB / 0.6371 GB, free: 12.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.025/0.669, allocations: 9.693 MB / 0.6466 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.6692, allocations: 48 kB / 0.6466 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01553/0.6847, allocations: 4.892 MB / 0.6514 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/0.6974, allocations: 2.46 MB / 0.6538 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.702, allocations: 1.259 MB / 0.6551 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009167/0.7112, allocations: 5.856 MB / 0.6608 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/0.7158, allocations: 401.7 kB / 0.6612 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/0.7169, allocations: 316 kB / 0.6615 GB, free: 2.934 MB / 0.4981 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.004604/0.7215, allocations: 2.022 MB / 0.6634 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006081/0.7221, allocations: 264.7 kB / 0.6637 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/0.7331, allocations: 5.339 MB / 0.6689 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009808/0.743, allocations: 4.596 MB / 0.6734 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.743, allocations: 4 kB / 0.6734 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.7431, allocations: 7.969 kB / 0.6734 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/0.7712, allocations: 14.32 MB / 0.6874 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/0.7712, allocations: 15.92 kB / 0.6874 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.7732, allocations: 403.4 kB / 0.6878 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.7781, allocations: 1.24 MB / 0.689 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004955/0.7786, allocations: 63.97 kB / 0.6891 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.7835, allocations: 4.451 MB / 0.6934 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001019/0.7846, allocations: 1.471 MB / 0.6948 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.7991, allocations: 7.992 MB / 0.7026 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.8, allocations: 333.6 kB / 0.703 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008571/0.8009, allocations: 59.73 kB / 0.703 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.8029, allocations: 195.7 kB / 0.7032 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.8035, allocations: 156.9 kB / 0.7034 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002831/0.8038, allocations: 79.97 kB / 0.7034 GB, free: 7.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003523/0.8073, allocations: 1.644 MB / 0.705 GB, free: 5.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/0.8074, allocations: 0 / 0.705 GB, free: 5.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005711/0.8131, allocations: 1.026 MB / 0.706 GB, free: 4.391 MB / 0.545 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.0007845/0.8139, allocations: 195 kB / 0.7062 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2576/1.072, allocations: 6.413 MB / 0.7125 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.617e-05/1.072, allocations: 1.375 kB / 0.7125 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005889/1.077, allocations: 2.848 MB / 0.7153 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006083/1.084, allocations: 373.8 kB / 0.7156 GB, free: 168.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.107, allocations: 12.9 MB / 0.7282 GB, free: 163.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005853/1.113, allocations: 3.183 MB / 0.7313 GB, free: 162.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.114, allocations: 265.5 kB / 0.7316 GB, free: 162.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/1.114, allocations: 0 / 0.7316 GB, free: 162.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1354/1.25, allocations: 126.9 MB / 0.8555 GB, free: 48.88 MB / 0.545 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