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.001096/0.001096, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001121/0.001122, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 77.06 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 62.46 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01251/0.123, allocations: 11.7 MB / 492.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009004/0.132, allocations: 3.948 MB / 496.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.1339, allocations: 59.88 kB / 496.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003312/0.1373, allocations: 1.175 MB / 497.6 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005182/0.1426, allocations: 1.728 MB / 499.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1442, allocations: 0.4912 MB / 499.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005908/0.1502, allocations: 4.048 MB / 0.492 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.1533, allocations: 1.791 MB / 0.4938 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.1557, allocations: 1.152 MB / 0.4949 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.1586, allocations: 1.655 MB / 0.4965 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009035/0.1595, allocations: 220 kB / 0.4967 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.1622, allocations: 1.073 MB / 0.4978 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.1644, allocations: 1.582 MB / 0.4993 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003282/0.1677, allocations: 1.836 MB / 0.5011 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.4031, allocations: 5.814 MB / 0.5068 GB, free: 19.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.4032, allocations: 4.547 kB / 0.5068 GB, free: 19.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4032, allocations: 0 / 0.5068 GB, free: 19.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002347/0.4034, allocations: 0.8125 kB / 0.5068 GB, free: 19.16 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.01018/0.4136, allocations: 4.094 MB / 0.5108 GB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4137, allocations: 9.734 kB / 0.5108 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.4277, allocations: 3.177 MB / 0.5139 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005725/0.4335, allocations: 2.005 MB / 0.5159 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4338, allocations: 177.8 kB / 0.5161 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.4355, allocations: 333.2 kB / 0.5164 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.454, allocations: 10.3 MB / 0.5264 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000109/0.4541, allocations: 23.34 kB / 0.5264 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/0.4546, allocations: 113.1 kB / 0.5266 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.4588, allocations: 2.438 MB / 0.5289 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/0.4783, allocations: 9.848 MB / 0.5386 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05199/0.5303, allocations: 34.6 MB / 0.5723 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/0.5387, allocations: 4.302 MB / 0.5765 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/0.5419, allocations: 2.158 MB / 0.5786 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.5432, allocations: 1.319 MB / 0.5799 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.5432, allocations: 55.38 kB / 0.58 GB, free: 13.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 5.59e-06/0.5433, allocations: 0 / 0.58 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04375/0.587, allocations: 16.73 MB / 0.5963 GB, free: 12.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001435/0.5885, allocations: 1.614 MB / 0.5979 GB, free: 10.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/0.5929, allocations: 2.666 MB / 0.6005 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005529/0.5935, allocations: 60.2 kB / 0.6006 GB, free: 8.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.5954, allocations: 2.613 MB / 0.6031 GB, free: 5.484 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.5969, allocations: 0.9242 MB / 0.604 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002476/0.5994, allocations: 1.1 MB / 0.6051 GB, free: 3.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5995, allocations: 305.1 kB / 0.6054 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/0.6032, allocations: 2.412 MB / 0.6077 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00578/0.609, allocations: 5.343 MB / 0.613 GB, free: 10.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6202, allocations: 8.419 MB / 0.6212 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/0.6204, allocations: 32 kB / 0.6212 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02465/0.645, allocations: 9.706 MB / 0.6307 GB, free: 7.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.6452, allocations: 48 kB / 0.6307 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01488/0.6601, allocations: 4.885 MB / 0.6355 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/0.6729, allocations: 2.468 MB / 0.6379 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/0.6787, allocations: 1.258 MB / 0.6391 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/0.6884, allocations: 6.393 MB / 0.6454 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004398/0.6928, allocations: 386.5 kB / 0.6458 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.6939, allocations: 316 kB / 0.6461 GB, free: 7.148 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.004313/0.6982, allocations: 2.034 MB / 0.648 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000736/0.699, allocations: 268.5 kB / 0.6483 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.7104, allocations: 5.322 MB / 0.6535 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01027/0.7207, allocations: 4.608 MB / 0.658 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.7207, allocations: 0 / 0.658 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/0.7208, allocations: 11.95 kB / 0.658 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02896/0.7498, allocations: 14.31 MB / 0.672 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.7498, allocations: 15.98 kB / 0.672 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.7518, allocations: 403.3 kB / 0.6724 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004821/0.7567, allocations: 1.244 MB / 0.6736 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005031/0.7572, allocations: 63.97 kB / 0.6737 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.7623, allocations: 4.752 MB / 0.6783 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001228/0.7636, allocations: 1.572 MB / 0.6798 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.778, allocations: 7.985 MB / 0.6876 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/0.7789, allocations: 333.5 kB / 0.688 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008025/0.7797, allocations: 54.8 kB / 0.688 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/0.7816, allocations: 199.6 kB / 0.6882 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.7821, allocations: 160.9 kB / 0.6884 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/0.7824, allocations: 79.41 kB / 0.6884 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002775/0.7851, allocations: 1.647 MB / 0.69 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.7852, allocations: 4 kB / 0.69 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004629/0.7898, allocations: 1.023 MB / 0.691 GB, free: 8.188 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.0006233/0.7904, allocations: 192.7 kB / 0.6912 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01724/0.8077, allocations: 9.881 MB / 0.7009 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.8077, allocations: 4 kB / 0.7009 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005462/0.8132, allocations: 2.856 MB / 0.7037 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.8165, allocations: 381.7 kB / 0.704 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2257/1.042, allocations: 10.74 MB / 0.7145 GB, free: 197.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007859/1.05, allocations: 3.183 MB / 0.7176 GB, free: 196.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.052, allocations: 264.2 kB / 0.7179 GB, free: 196.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.052, allocations: 0 / 0.7179 GB, free: 196.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1936/1.246, allocations: 127.6 MB / 0.8425 GB, free: 88.09 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