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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.001509, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 84.64 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1397, allocations: 62.44 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02342/0.1632, allocations: 25.51 MB / 0.4931 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1771, allocations: 6.232 MB / 0.4991 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004769/0.1819, allocations: 103.8 kB / 0.4992 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.1851, allocations: 1.129 MB / 0.5003 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.1904, allocations: 1.632 MB / 0.5019 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.1919, allocations: 455.3 kB / 0.5024 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2542/0.4461, allocations: 5.517 MB / 0.5078 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003712/0.4498, allocations: 1.75 MB / 0.5095 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.4529, allocations: 1.005 MB / 0.5104 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.4563, allocations: 1.761 MB / 0.5122 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006153/0.457, allocations: 152.1 kB / 0.5123 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.4594, allocations: 1.077 MB / 0.5134 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.4614, allocations: 1.531 MB / 0.5149 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001927/0.4633, allocations: 1.789 MB / 0.5166 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.4693, allocations: 5.779 MB / 0.5223 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4693, allocations: 0 / 0.5223 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4693, allocations: 5.031 kB / 0.5223 GB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.4694, allocations: 0 / 0.5223 GB, free: 9.691 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.008242/0.4777, allocations: 4.122 MB / 0.5263 GB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4777, allocations: 12.91 kB / 0.5263 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008427/0.4786, allocations: 0.6875 MB / 0.527 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4893, allocations: 3.198 MB / 0.5301 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/0.4938, allocations: 2.452 MB / 0.5325 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.494, allocations: 184.3 kB / 0.5327 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007901/0.4948, allocations: 330.3 kB / 0.533 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.5086, allocations: 10.29 MB / 0.543 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.5088, allocations: 26.88 kB / 0.5431 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005398/0.5093, allocations: 120.8 kB / 0.5432 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.5131, allocations: 2.434 MB / 0.5455 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.5325, allocations: 9.843 MB / 0.5552 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05229/0.5848, allocations: 34.58 MB / 0.5889 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/0.593, allocations: 4.306 MB / 0.5931 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.5961, allocations: 2.165 MB / 0.5952 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.5974, allocations: 1.315 MB / 0.5965 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.5974, allocations: 56.56 kB / 0.5966 GB, free: 5.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 5.821e-06/0.5975, allocations: 0 / 0.5966 GB, free: 5.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.04079/0.6383, allocations: 16.73 MB / 0.6129 GB, free: 4.992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001512/0.6398, allocations: 1.522 MB / 0.6144 GB, free: 3.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.6452, allocations: 2.684 MB / 0.617 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006275/0.6459, allocations: 59.73 kB / 0.6171 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.648, allocations: 2.616 MB / 0.6196 GB, free: 13.94 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.6495, allocations: 0.9199 MB / 0.6205 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003003/0.6525, allocations: 1.089 MB / 0.6216 GB, free: 11.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.6526, allocations: 313.1 kB / 0.6219 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/0.6566, allocations: 2.391 MB / 0.6242 GB, free: 9.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006124/0.6627, allocations: 5.314 MB / 0.6294 GB, free: 2.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.6728, allocations: 8.384 MB / 0.6376 GB, free: 9.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.6729, allocations: 32 kB / 0.6376 GB, free: 9.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02162/0.6946, allocations: 9.332 MB / 0.6468 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.6947, allocations: 48 kB / 0.6468 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01248/0.7072, allocations: 4.563 MB / 0.6513 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.7174, allocations: 2.098 MB / 0.6533 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.722, allocations: 1.248 MB / 0.6545 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.7298, allocations: 4.966 MB / 0.6594 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/0.7349, allocations: 391.5 kB / 0.6597 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.7364, allocations: 315.4 kB / 0.66 GB, free: 1.965 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 (664): * Single equations (assignments): 652 * 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.005377/0.7418, allocations: 2.028 MB / 0.662 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000827/0.7426, allocations: 268.3 kB / 0.6623 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.7537, allocations: 5.326 MB / 0.6675 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008788/0.7625, allocations: 4.602 MB / 0.672 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7626, allocations: 4 kB / 0.672 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.7626, allocations: 15.89 kB / 0.672 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/0.7925, allocations: 14.31 MB / 0.686 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/0.7926, allocations: 12.19 kB / 0.686 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.7945, allocations: 415.3 kB / 0.6864 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/0.7992, allocations: 1.232 MB / 0.6876 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004912/0.7997, allocations: 63.95 kB / 0.6876 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005204/0.8049, allocations: 4.436 MB / 0.692 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001219/0.8062, allocations: 1.463 MB / 0.6934 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.8207, allocations: 8.003 MB / 0.7012 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.8219, allocations: 325.6 kB / 0.7015 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008465/0.8227, allocations: 51.98 kB / 0.7016 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/0.8246, allocations: 195.7 kB / 0.7018 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005686/0.8252, allocations: 168.8 kB / 0.7019 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/0.8255, allocations: 78.95 kB / 0.702 GB, free: 6.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004122/0.8296, allocations: 1.656 MB / 0.7036 GB, free: 4.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8296, allocations: 0 / 0.7036 GB, free: 4.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005676/0.8353, allocations: 1.004 MB / 0.7046 GB, free: 3.445 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.2522/1.088, allocations: 8.543 MB / 0.7129 GB, free: 193.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.099, allocations: 6.349 MB / 0.7191 GB, free: 191.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.099, allocations: 1.312 kB / 0.7191 GB, free: 191.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/1.104, allocations: 2.845 MB / 0.7219 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.106, allocations: 364.7 kB / 0.7223 GB, free: 190.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06781/1.174, allocations: 49.2 MB / 0.7703 GB, free: 150.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/1.177, allocations: 3.194 MB / 0.7734 GB, free: 147.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004353/1.181, allocations: 2.056 MB / 0.7754 GB, free: 145.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/1.183, allocations: 1.694 MB / 0.7771 GB, free: 143.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.213e-06/1.183, allocations: 0 / 0.7771 GB, free: 143.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/1.257, allocations: 62.02 MB / 0.8377 GB, free: 82.09 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.258, allocations: 232.3 kB / 0.8379 GB, free: 81.83 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.701, allocations: 11.88 kB / 0.8379 GB, free: 81.82 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > 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