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.0009688/0.0009689, allocations: 100.8 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 200.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003295, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1589, allocations: 63.57 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02452/0.1835, allocations: 22.97 MB / 0.4935 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.1979, allocations: 5.816 MB / 0.4992 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004909/0.2028, allocations: 103.8 kB / 0.4993 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.2063, allocations: 1.089 MB / 0.5004 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.2159, allocations: 3.452 MB / 0.5037 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2177, allocations: 407.3 kB / 0.5041 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2681/0.4857, allocations: 4.255 MB / 0.5083 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005403/0.4912, allocations: 2.141 MB / 0.5104 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4944, allocations: 1.009 MB / 0.5114 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004568/0.499, allocations: 1.639 MB / 0.513 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.5003, allocations: 132 kB / 0.5131 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.5039, allocations: 0.8835 MB / 0.514 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0033/0.5072, allocations: 1.473 MB / 0.5154 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.5099, allocations: 0.7253 MB / 0.5161 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.5184, allocations: 4.592 MB / 0.5206 GB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.5184, allocations: 2.312 kB / 0.5206 GB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5184, allocations: 0.9375 kB / 0.5206 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002996/0.5187, allocations: 0 / 0.5206 GB, free: 11.88 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.01023/0.529, allocations: 3.431 MB / 0.5239 GB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.529, allocations: 9.625 kB / 0.5239 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.5404, allocations: 3.274 MB / 0.5271 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/0.5459, allocations: 1.979 MB / 0.5291 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.5462, allocations: 177.5 kB / 0.5292 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.5479, allocations: 328.3 kB / 0.5296 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.5666, allocations: 10.28 MB / 0.5396 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.5668, allocations: 22.69 kB / 0.5396 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.5672, allocations: 117.8 kB / 0.5397 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003934/0.5712, allocations: 2.438 MB / 0.5421 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.5897, allocations: 9.813 MB / 0.5517 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05309/0.6428, allocations: 34.58 MB / 0.5855 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008076/0.651, allocations: 4.306 MB / 0.5897 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/0.6542, allocations: 2.15 MB / 0.5918 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.6555, allocations: 1.31 MB / 0.593 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.6555, allocations: 56.5 kB / 0.5931 GB, free: 1.336 MB / 430.1 MB Notification: Performance of pre-optimization done (n=236): time 7.975e-06/0.6555, allocations: 4 kB / 0.5931 GB, free: 1.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=252): time 0.04207/0.6976, allocations: 16.7 MB / 0.6094 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001434/0.6991, allocations: 1.526 MB / 0.6109 GB, free: 14.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005793/0.7049, allocations: 2.652 MB / 0.6135 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004258/0.7054, allocations: 57.7 kB / 0.6136 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002318/0.7077, allocations: 2.612 MB / 0.6161 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.7091, allocations: 0.9224 MB / 0.617 GB, free: 8.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005895/0.7097, allocations: 111.9 kB / 0.6171 GB, free: 8.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005594/0.7103, allocations: 0.5495 MB / 0.6176 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/0.7145, allocations: 2.388 MB / 0.62 GB, free: 5.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00665/0.7211, allocations: 5.323 MB / 0.6252 GB, free: 14.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005589/0.7267, allocations: 3.584 MB / 0.6287 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.729e-05/0.7268, allocations: 28 kB / 0.6287 GB, free: 11.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02281/0.7497, allocations: 9.644 MB / 0.6381 GB, free: 1.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.7499, allocations: 50.66 kB / 0.6382 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01356/0.7634, allocations: 4.875 MB / 0.6429 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.7741, allocations: 2.472 MB / 0.6453 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005518/0.7797, allocations: 1.259 MB / 0.6466 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00864/0.7884, allocations: 5.864 MB / 0.6523 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/0.7932, allocations: 391.6 kB / 0.6527 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/0.7946, allocations: 318.6 kB / 0.653 GB, free: 2.035 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00588/0.8005, allocations: 2.038 MB / 0.655 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.8015, allocations: 272.4 kB / 0.6552 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.8131, allocations: 5.305 MB / 0.6604 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009104/0.8222, allocations: 4.584 MB / 0.6649 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.8223, allocations: 0 / 0.6649 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-05/0.8223, allocations: 11.95 kB / 0.6649 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03559/0.8579, allocations: 14.29 MB / 0.6789 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.75e-05/0.858, allocations: 15.95 kB / 0.6789 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.86, allocations: 403.4 kB / 0.6793 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004051/0.8641, allocations: 1.248 MB / 0.6805 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005074/0.8646, allocations: 66.16 kB / 0.6805 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.8696, allocations: 4.433 MB / 0.6849 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001076/0.8707, allocations: 1.467 MB / 0.6863 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.8844, allocations: 7.979 MB / 0.6941 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.8854, allocations: 329.6 kB / 0.6944 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007834/0.8862, allocations: 49.16 kB / 0.6945 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.8881, allocations: 192.9 kB / 0.6946 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003801/0.8885, allocations: 168.9 kB / 0.6948 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/0.8887, allocations: 73.16 kB / 0.6949 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003737/0.8925, allocations: 1.62 MB / 0.6964 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.11e-07/0.8925, allocations: 0 / 0.6964 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006188/0.8987, allocations: 1.022 MB / 0.6974 GB, free: 3.621 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006834/0.8994, allocations: 200.6 kB / 0.6976 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.9111, allocations: 6.386 MB / 0.7039 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/0.9112, allocations: 4.875 kB / 0.7039 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/0.9165, allocations: 2.831 MB / 0.7066 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/0.9211, allocations: 371 kB / 0.707 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3158/1.237, allocations: 12.07 MB / 0.7188 GB, free: 169 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005505/1.242, allocations: 3.185 MB / 0.7219 GB, free: 168.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006329/1.249, allocations: 2.056 MB / 0.7239 GB, free: 168.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008862/1.25, allocations: 216.4 kB / 0.7241 GB, free: 168.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.804e-06/1.25, allocations: 0 / 0.7241 GB, free: 168.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0734/1.323, allocations: 33.92 MB / 0.7572 GB, free: 153.1 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/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