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.001198/0.001198, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 75.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4397, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01457/0.4543, allocations: 11.72 MB / 0.5424 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.4652, allocations: 3.936 MB / 0.5463 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00358/0.4688, allocations: 59.91 kB / 0.5463 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.4722, allocations: 1.179 MB / 0.5475 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005918/0.4782, allocations: 1.73 MB / 0.5492 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.4799, allocations: 0.4911 MB / 0.5497 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006271/0.4862, allocations: 4.062 MB / 0.5536 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.4888, allocations: 1.787 MB / 0.5554 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.4911, allocations: 1.16 MB / 0.5565 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.4936, allocations: 1.658 MB / 0.5581 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005453/0.4941, allocations: 220 kB / 0.5583 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.4965, allocations: 1.073 MB / 0.5594 GB, free: 4.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.4981, allocations: 1.582 MB / 0.5609 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00221/0.5003, allocations: 1.832 MB / 0.5627 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007772/0.5081, allocations: 6.089 MB / 0.5687 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5082, allocations: 0 / 0.5687 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5082, allocations: 0 / 0.5687 GB, free: 11.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001802/0.5084, allocations: 0 / 0.5687 GB, free: 11.02 MB / 430.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.009371/0.5178, allocations: 4.092 MB / 0.5727 GB, free: 6.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.5178, allocations: 15.97 kB / 0.5727 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.5292, allocations: 3.189 MB / 0.5758 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.535, allocations: 2.014 MB / 0.5778 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.5352, allocations: 184.8 kB / 0.5779 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.5364, allocations: 331.5 kB / 0.5782 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01849/0.5549, allocations: 10.29 MB / 0.5883 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.5551, allocations: 31.8 kB / 0.5883 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/0.5555, allocations: 111.8 kB / 0.5884 GB, free: 6.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004083/0.5596, allocations: 2.44 MB / 0.5908 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.5807, allocations: 9.847 MB / 0.6004 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06154/0.6422, allocations: 34.4 MB / 0.634 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008998/0.6513, allocations: 4.316 MB / 0.6382 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.6551, allocations: 2.153 MB / 0.6403 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.6568, allocations: 1.318 MB / 0.6416 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.555e-05/0.6569, allocations: 56.56 kB / 0.6417 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 1.071e-05/0.657, allocations: 3.938 kB / 0.6417 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.04178/0.6987, allocations: 16.73 MB / 0.658 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001486/0.7003, allocations: 1.619 MB / 0.6596 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/0.7049, allocations: 2.668 MB / 0.6622 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004591/0.7053, allocations: 53.7 kB / 0.6623 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.7072, allocations: 2.612 MB / 0.6648 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001254/0.7084, allocations: 0.925 MB / 0.6657 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/0.7103, allocations: 1.1 MB / 0.6668 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.7104, allocations: 301.1 kB / 0.6671 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003566/0.714, allocations: 2.412 MB / 0.6694 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009/0.723, allocations: 5.339 MB / 0.6746 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01808/0.7411, allocations: 8.422 MB / 0.6829 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/0.7413, allocations: 31.94 kB / 0.6829 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.0437/0.785, allocations: 9.707 MB / 0.6924 GB, free: 7.152 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.7852, allocations: 48 kB / 0.6924 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02623/0.8114, allocations: 4.885 MB / 0.6972 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02177/0.8332, allocations: 2.472 MB / 0.6996 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008528/0.8418, allocations: 1.248 MB / 0.7008 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/0.8586, allocations: 6.398 MB / 0.7071 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007651/0.8663, allocations: 391.6 kB / 0.7075 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/0.8678, allocations: 316 kB / 0.7078 GB, free: 7.094 MB / 0.5606 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.007404/0.8752, allocations: 2.024 MB / 0.7097 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.8763, allocations: 268.4 kB / 0.71 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4096/1.286, allocations: 5.316 MB / 0.7152 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0121/1.298, allocations: 4.596 MB / 0.7197 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.298, allocations: 2.25 kB / 0.7197 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/1.298, allocations: 9.469 kB / 0.7197 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.325, allocations: 14.28 MB / 0.7336 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/1.325, allocations: 7.812 kB / 0.7336 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.327, allocations: 405.4 kB / 0.734 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004323/1.331, allocations: 1.242 MB / 0.7352 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003438/1.331, allocations: 67.23 kB / 0.7353 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003848/1.335, allocations: 4.741 MB / 0.7399 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000743/1.336, allocations: 1.557 MB / 0.7414 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.347, allocations: 7.992 MB / 0.7492 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009232/1.348, allocations: 332.7 kB / 0.7496 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/1.348, allocations: 55.73 kB / 0.7496 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.349, allocations: 195.7 kB / 0.7498 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003352/1.35, allocations: 160.8 kB / 0.75 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.35, allocations: 75.97 kB / 0.75 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001956/1.352, allocations: 1.647 MB / 0.7516 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.352, allocations: 0 / 0.7516 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003622/1.355, allocations: 1.023 MB / 0.7526 GB, free: 140.8 MB / 0.5606 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.0003716/1.356, allocations: 205.3 kB / 0.7528 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008449/1.364, allocations: 6.473 MB / 0.7592 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.364, allocations: 0 / 0.7592 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/1.368, allocations: 2.857 MB / 0.7619 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.37, allocations: 393.2 kB / 0.7623 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.384, allocations: 10.23 MB / 0.7723 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.386, allocations: 3.185 MB / 0.7754 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003852/1.39, allocations: 2.056 MB / 0.7774 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/1.391, allocations: 211.4 kB / 0.7776 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.769e-06/1.391, allocations: 0 / 0.7776 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.05446/1.445, allocations: 34.11 MB / 0.8109 GB, free: 81.22 MB / 0.5606 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