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.001532/0.001532, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 74.8 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.112, allocations: 62.46 MB / 481.5 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01223/0.1242, allocations: 11.71 MB / 493.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.1318, allocations: 3.937 MB / 497.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.1329, allocations: 63.81 kB / 497.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.1349, allocations: 1.187 MB / 498.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.1379, allocations: 1.716 MB / 0.4884 GB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009699/0.1389, allocations: 499 kB / 0.4888 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.143, allocations: 4.052 MB / 0.4928 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.1448, allocations: 1.787 MB / 0.4945 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.1459, allocations: 1.16 MB / 0.4957 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.1476, allocations: 1.658 MB / 0.4973 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.1479, allocations: 219.9 kB / 0.4975 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.1495, allocations: 1.073 MB / 0.4986 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1507, allocations: 1.582 MB / 0.5001 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.1521, allocations: 1.84 MB / 0.5019 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2025/0.3547, allocations: 6.083 MB / 0.5078 GB, free: 19.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3547, allocations: 0 / 0.5078 GB, free: 19.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3547, allocations: 0.5625 kB / 0.5078 GB, free: 19.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001761/0.3549, allocations: 2.844 kB / 0.5078 GB, free: 19.46 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.007491/0.3624, allocations: 4.098 MB / 0.5118 GB, free: 17.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3625, allocations: 11.94 kB / 0.5119 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.374, allocations: 3.177 MB / 0.515 GB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.3791, allocations: 2.02 MB / 0.5169 GB, free: 17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3793, allocations: 181.3 kB / 0.5171 GB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.3803, allocations: 326.4 kB / 0.5174 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.3933, allocations: 10.3 MB / 0.5275 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.3935, allocations: 26.69 kB / 0.5275 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.3938, allocations: 115.2 kB / 0.5276 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003092/0.3969, allocations: 2.435 MB / 0.53 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.4111, allocations: 9.84 MB / 0.5396 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04244/0.4536, allocations: 34.4 MB / 0.5732 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007104/0.4607, allocations: 4.304 MB / 0.5774 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.4633, allocations: 2.162 MB / 0.5795 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.4644, allocations: 1.315 MB / 0.5808 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.4644, allocations: 56.25 kB / 0.5808 GB, free: 13.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 4.218e-06/0.4644, allocations: 0 / 0.5808 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.03508/0.4995, allocations: 16.73 MB / 0.5972 GB, free: 12.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001268/0.5008, allocations: 1.617 MB / 0.5988 GB, free: 10.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/0.5043, allocations: 2.671 MB / 0.6014 GB, free: 8.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002867/0.5046, allocations: 57.7 kB / 0.6014 GB, free: 8.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001463/0.506, allocations: 2.616 MB / 0.604 GB, free: 5.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/0.5068, allocations: 0.9214 MB / 0.6049 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.5081, allocations: 1.097 MB / 0.6059 GB, free: 3.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.5082, allocations: 305.1 kB / 0.6062 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.5113, allocations: 2.412 MB / 0.6086 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.5161, allocations: 5.346 MB / 0.6138 GB, free: 9.969 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008541/0.5247, allocations: 8.419 MB / 0.622 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-05/0.5247, allocations: 32 kB / 0.6221 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01939/0.5441, allocations: 9.7 MB / 0.6315 GB, free: 7.137 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.5442, allocations: 54.88 kB / 0.6316 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01221/0.5564, allocations: 4.892 MB / 0.6364 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/0.5672, allocations: 2.46 MB / 0.6388 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/0.5714, allocations: 1.248 MB / 0.64 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.5795, allocations: 6.395 MB / 0.6462 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.5836, allocations: 387.6 kB / 0.6466 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/0.5842, allocations: 316 kB / 0.6469 GB, free: 7.098 MB / 494.1 MB 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.003132/0.5873, allocations: 2.03 MB / 0.6489 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.5877, allocations: 264.5 kB / 0.6491 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0093/0.5971, allocations: 5.329 MB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008202/0.6053, allocations: 4.601 MB / 0.6588 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.6053, allocations: 4 kB / 0.6588 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.6053, allocations: 11.95 kB / 0.6588 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/0.6298, allocations: 14.28 MB / 0.6728 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.6298, allocations: 8 kB / 0.6728 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.6314, allocations: 407.3 kB / 0.6732 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/0.6358, allocations: 1.243 MB / 0.6744 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.636, allocations: 63.97 kB / 0.6745 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.641, allocations: 4.743 MB / 0.6791 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009994/0.6421, allocations: 1.564 MB / 0.6806 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.654, allocations: 7.997 MB / 0.6884 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/0.6548, allocations: 337.5 kB / 0.6888 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.6552, allocations: 50.09 kB / 0.6888 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.6567, allocations: 195.6 kB / 0.689 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.6571, allocations: 176.2 kB / 0.6892 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/0.6573, allocations: 75.97 kB / 0.6892 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00248/0.6598, allocations: 1.644 MB / 0.6908 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6598, allocations: 4 kB / 0.6908 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004721/0.6645, allocations: 1.016 MB / 0.6918 GB, free: 8.18 MB / 0.5294 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/0.665, allocations: 203.8 kB / 0.692 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00984/0.6749, allocations: 6.468 MB / 0.6983 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.6749, allocations: 0 / 0.6983 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004689/0.6796, allocations: 2.849 MB / 0.7011 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.6819, allocations: 398.9 kB / 0.7015 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.6987, allocations: 10.21 MB / 0.7115 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003287/0.702, allocations: 3.187 MB / 0.7146 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2047/0.9067, allocations: 2.046 MB / 0.7166 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000809/0.9075, allocations: 218 kB / 0.7168 GB, free: 196 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.9075, allocations: 4.781 kB / 0.7168 GB, free: 196 MB / 0.545 GB Notification: Performance of Templates: time 0.05219/0.9597, allocations: 32.44 MB / 0.7485 GB, free: 182.7 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 -s gbode -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