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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001016, allocations: 97.55 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.202e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5335, allocations: 103.7 MB / 0.6056 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.5337, allocations: 78.39 kB / 0.6057 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1996/0.7334, allocations: 87.29 MB / 0.691 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7334, allocations: 4 kB / 0.691 GB, free: 15.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001175/0.7335, allocations: 75.98 kB / 0.691 GB, free: 15.79 MB / 490.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.007328/0.7409, allocations: 3.607 MB / 0.6946 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7409, allocations: 12.03 kB / 0.6946 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.7561, allocations: 3.688 MB / 0.6982 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.7674, allocations: 4.108 MB / 0.7022 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.7677, allocations: 120 kB / 0.7023 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.7696, allocations: 216 kB / 0.7025 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01127/0.7808, allocations: 7.079 MB / 0.7094 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.7952, allocations: 9.331 MB / 0.7185 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.466e-05/0.7954, allocations: 31.66 kB / 0.7186 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.7958, allocations: 16 kB / 0.7186 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.7972, allocations: 1.156 MB / 0.7197 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3309/1.128, allocations: 33.36 MB / 0.7523 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005613/1.134, allocations: 3.954 MB / 0.7561 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/1.137, allocations: 2.084 MB / 0.7582 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.139, allocations: 1.312 MB / 0.7595 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.139, allocations: 50.89 kB / 0.7595 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=238): time 6.201e-06/1.139, allocations: 1.656 kB / 0.7595 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.03481/1.174, allocations: 15.45 MB / 0.7746 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.174, allocations: 84.61 kB / 0.7747 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.179, allocations: 2.325 MB / 0.7769 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004268/1.179, allocations: 25.7 kB / 0.777 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/1.181, allocations: 2.746 MB / 0.7797 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.182, allocations: 0.9134 MB / 0.7805 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005019/1.183, allocations: 0 / 0.7805 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003462/1.183, allocations: 0.5613 MB / 0.7811 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/1.186, allocations: 2.326 MB / 0.7834 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/1.19, allocations: 5.491 MB / 0.7887 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/1.194, allocations: 3.597 MB / 0.7922 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-05/1.194, allocations: 38.84 kB / 0.7923 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=777) (initialization): time 0.01822/1.212, allocations: 8.819 MB / 0.8009 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/1.212, allocations: 53.75 kB / 0.8009 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01148/1.224, allocations: 4.406 MB / 0.8052 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009779/1.234, allocations: 2.02 MB / 0.8072 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.238, allocations: 1.334 MB / 0.8085 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/1.244, allocations: 4.779 MB / 0.8132 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/1.248, allocations: 290.7 kB / 0.8135 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.25, allocations: 341 kB / 0.8138 GB, free: 123.8 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 (715): * Single equations (assignments): 703 * 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.001543/1.251, allocations: 394.7 kB / 0.8142 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/1.252, allocations: 278 kB / 0.8144 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008454/1.26, allocations: 5.157 MB / 0.8195 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007182/1.267, allocations: 4.454 MB / 0.8238 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.267, allocations: 4.906 kB / 0.8238 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/1.267, allocations: 11.39 kB / 0.8238 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.287, allocations: 13.34 MB / 0.8369 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.287, allocations: 12 kB / 0.8369 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.288, allocations: 418.2 kB / 0.8373 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003834/1.292, allocations: 1.176 MB / 0.8384 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.292, allocations: 31.83 kB / 0.8384 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/1.296, allocations: 4.34 MB / 0.8427 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006257/1.296, allocations: 1.408 MB / 0.8441 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.307, allocations: 8.642 MB / 0.8525 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008188/1.307, allocations: 332.2 kB / 0.8528 GB, free: 96.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/1.308, allocations: 30.41 kB / 0.8528 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.309, allocations: 156.2 kB / 0.853 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.31, allocations: 167.7 kB / 0.8531 GB, free: 95.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.31, allocations: 76.88 kB / 0.8532 GB, free: 95.92 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001878/1.312, allocations: 1.526 MB / 0.8547 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.312, allocations: 0 / 0.8547 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003962/1.316, allocations: 0.9515 MB / 0.8556 GB, free: 93.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 186 * 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.0003884/1.316, allocations: 171 kB / 0.8558 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007728/1.324, allocations: 6.163 MB / 0.8618 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.324, allocations: 4.062 kB / 0.8618 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003675/1.327, allocations: 2.789 MB / 0.8646 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.329, allocations: 245.8 kB / 0.8648 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.342, allocations: 8.928 MB / 0.8735 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/1.345, allocations: 3.325 MB / 0.8768 GB, free: 74.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004786/1.35, allocations: 2.183 MB / 0.8789 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/1.351, allocations: 219.4 kB / 0.8791 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.804e-06/1.351, allocations: 0 / 0.8791 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.04799/1.399, allocations: 30.52 MB / 0.9089 GB, free: 42.92 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