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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 195.5 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009373/0.0009371, allocations: 91.83 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1953/0.1953, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.125e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 63.25 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5644, allocations: 103.6 MB / 0.605 GB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/0.5649, allocations: 74.94 kB / 0.605 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2178/0.7827, allocations: 86.13 MB / 0.6892 GB, free: 1.555 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.7829, allocations: 71.98 kB / 0.6892 GB, free: 1.484 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01137/0.7943, allocations: 3.549 MB / 0.6927 GB, free: 13.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7943, allocations: 12.03 kB / 0.6927 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.8097, allocations: 2.974 MB / 0.6956 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.8209, allocations: 4.136 MB / 0.6996 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.8212, allocations: 120 kB / 0.6998 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/0.8234, allocations: 219.9 kB / 0.7 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01388/0.8373, allocations: 7.251 MB / 0.707 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.8587, allocations: 9.498 MB / 0.7163 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.8589, allocations: 31.66 kB / 0.7164 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/0.8595, allocations: 16 kB / 0.7164 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001706/0.8612, allocations: 1.226 MB / 0.7176 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05511/0.9164, allocations: 33.83 MB / 0.7506 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2039/1.12, allocations: 2.672 MB / 0.7532 GB, free: 205.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/1.123, allocations: 2.21 MB / 0.7554 GB, free: 205.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.135, allocations: 9.443 MB / 0.7646 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.136, allocations: 49.91 kB / 0.7646 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=205): time 4.639e-06/1.136, allocations: 0 / 0.7646 GB, free: 202.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=230): time 0.028/1.164, allocations: 15.18 MB / 0.7795 GB, free: 201 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/1.164, allocations: 74.66 kB / 0.7795 GB, free: 200.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/1.167, allocations: 2.559 MB / 0.782 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.168, allocations: 25.7 kB / 0.7821 GB, free: 200.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/1.169, allocations: 2.713 MB / 0.7847 GB, free: 199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/1.171, allocations: 0.843 MB / 0.7855 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/1.171, allocations: 0 / 0.7855 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004656/1.172, allocations: 0.5639 MB / 0.7861 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/1.175, allocations: 2.499 MB / 0.7885 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/1.179, allocations: 5.662 MB / 0.7941 GB, free: 193.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/1.184, allocations: 3.815 MB / 0.7978 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-05/1.184, allocations: 34.62 kB / 0.7978 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02008/1.204, allocations: 8.802 MB / 0.8064 GB, free: 190.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.204, allocations: 3.938 kB / 0.8064 GB, free: 190.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01248/1.217, allocations: 4.319 MB / 0.8106 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.227, allocations: 1.589 MB / 0.8122 GB, free: 189 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/1.232, allocations: 1.31 MB / 0.8135 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/1.238, allocations: 4.553 MB / 0.8179 GB, free: 184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004877/1.243, allocations: 217.1 kB / 0.8181 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.244, allocations: 342.9 kB / 0.8184 GB, free: 183.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 710 * 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.0009148/1.245, allocations: 394.9 kB / 0.8188 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/1.245, allocations: 278.8 kB / 0.8191 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/1.246, allocations: 442.6 kB / 0.8195 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007268/1.253, allocations: 4.404 MB / 0.8238 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.253, allocations: 4 kB / 0.8238 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.253, allocations: 13.73 kB / 0.8238 GB, free: 178.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/1.273, allocations: 11.59 MB / 0.8352 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.274, allocations: 5.422 kB / 0.8352 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.275, allocations: 323.6 kB / 0.8355 GB, free: 169 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003886/1.279, allocations: 1.026 MB / 0.8365 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003678/1.28, allocations: 18.56 kB / 0.8365 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/1.283, allocations: 4.233 MB / 0.8406 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006574/1.284, allocations: 1.37 MB / 0.842 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0108/1.295, allocations: 7.783 MB / 0.8496 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009594/1.296, allocations: 338.8 kB / 0.8499 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/1.296, allocations: 15.19 kB / 0.8499 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.298, allocations: 97.97 kB / 0.85 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/1.298, allocations: 104.3 kB / 0.8501 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.298, allocations: 63.41 kB / 0.8501 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002296/1.301, allocations: 1.689 MB / 0.8518 GB, free: 154 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004626/1.305, allocations: 0.9724 MB / 0.8527 GB, free: 153.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 162 * 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.0004609/1.306, allocations: 155.4 kB / 0.8529 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00898/1.315, allocations: 6.378 MB / 0.8591 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.315, allocations: 0 / 0.8591 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.319, allocations: 2.69 MB / 0.8618 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.32, allocations: 242.4 kB / 0.862 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.336, allocations: 8.664 MB / 0.8704 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005146/1.341, allocations: 3.571 MB / 0.8739 GB, free: 134 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/1.341, allocations: 0 / 0.8739 GB, free: 134 MB / 0.5261 GB Notification: Performance of Templates: time 0.06453/1.405, allocations: 38.95 MB / 0.912 GB, free: 96.71 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches