Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001056, allocations: 202.8 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.432/1.432, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007789/0.0007789, allocations: 93.97 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1767/0.1767, allocations: 45.14 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.529e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09461, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4452, allocations: 105.8 MB / 0.6076 GB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4455, allocations: 74.91 kB / 0.6077 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2218/0.6673, allocations: 93.62 MB / 0.6991 GB, free: 7.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6673, allocations: 3.938 kB / 0.6992 GB, free: 7.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.6675, allocations: 80 kB / 0.6992 GB, free: 7.328 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01433/0.6818, allocations: 4.512 MB / 0.7036 GB, free: 2.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6819, allocations: 12.02 kB / 0.7036 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/0.697, allocations: 3.574 MB / 0.7071 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/0.7086, allocations: 4.109 MB / 0.7111 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.7089, allocations: 148 kB / 0.7113 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.7111, allocations: 271.9 kB / 0.7115 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01376/0.7248, allocations: 7.828 MB / 0.7192 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.746, allocations: 10.3 MB / 0.7293 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.7462, allocations: 31.66 kB / 0.7293 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.7475, allocations: 15.98 kB / 0.7293 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/0.7492, allocations: 1.204 MB / 0.7305 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.313/1.062, allocations: 35 MB / 0.7647 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005214/1.067, allocations: 3.709 MB / 0.7683 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/1.071, allocations: 2.046 MB / 0.7703 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009948/1.072, allocations: 1.317 MB / 0.7716 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.072, allocations: 55.83 kB / 0.7716 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 4.819e-06/1.072, allocations: 0 / 0.7716 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=264): time 0.02316/1.095, allocations: 11.02 MB / 0.7824 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.095, allocations: 74.72 kB / 0.7824 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/1.098, allocations: 2.478 MB / 0.7849 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.098, allocations: 25.7 kB / 0.7849 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.1, allocations: 3.117 MB / 0.7879 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007542/1.1, allocations: 0.9564 MB / 0.7889 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.101, allocations: 2.531 kB / 0.7889 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002677/1.101, allocations: 0.5732 MB / 0.7894 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/1.103, allocations: 2.299 MB / 0.7917 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/1.107, allocations: 5.714 MB / 0.7973 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/1.111, allocations: 3.664 MB / 0.8008 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.034e-05/1.112, allocations: 35.16 kB / 0.8009 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=824) (initialization): time 0.01555/1.127, allocations: 8.188 MB / 0.8089 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/1.127, allocations: 55.47 kB / 0.8089 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/1.127, allocations: 121.8 kB / 0.809 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003491/1.131, allocations: 1.076 MB / 0.8101 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/1.135, allocations: 1.442 MB / 0.8115 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/1.137, allocations: 2.399 MB / 0.8138 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.141, allocations: 203.2 kB / 0.814 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006481/1.142, allocations: 376.2 kB / 0.8144 GB, free: 108.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (771): * Single equations (assignments): 762 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0007732/1.143, allocations: 426.5 kB / 0.8148 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/1.143, allocations: 294.3 kB / 0.8151 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007738/1.151, allocations: 5.013 MB / 0.82 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/1.151, allocations: 50.67 kB / 0.82 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.151, allocations: 7.344 kB / 0.82 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.151, allocations: 11.02 kB / 0.82 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.167, allocations: 10.62 MB / 0.8304 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.167, allocations: 7.25 kB / 0.8304 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.168, allocations: 429.8 kB / 0.8308 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/1.172, allocations: 0.9155 MB / 0.8317 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/1.172, allocations: 38.22 kB / 0.8318 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/1.173, allocations: 2.194 MB / 0.8339 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.174, allocations: 11.88 kB / 0.8339 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009518/1.183, allocations: 8.178 MB / 0.8419 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/1.184, allocations: 332 kB / 0.8422 GB, free: 96.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/1.184, allocations: 20 kB / 0.8422 GB, free: 96.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.186, allocations: 106.3 kB / 0.8423 GB, free: 96.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.186, allocations: 170.6 kB / 0.8425 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.186, allocations: 88.08 kB / 0.8426 GB, free: 96.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002292/1.188, allocations: 1.615 MB / 0.8442 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.188, allocations: 0 / 0.8442 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004425/1.193, allocations: 0.909 MB / 0.845 GB, free: 94.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 205 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0004659/1.193, allocations: 172.2 kB / 0.8452 GB, free: 94.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007999/1.201, allocations: 6.045 MB / 0.8511 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.201, allocations: 0 / 0.8511 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003496/1.205, allocations: 2.587 MB / 0.8536 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.207, allocations: 351.1 kB / 0.854 GB, free: 86.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.22, allocations: 9.462 MB / 0.8632 GB, free: 77.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/1.223, allocations: 3.696 MB / 0.8668 GB, free: 74.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004445/1.228, allocations: 2.218 MB / 0.869 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006935/1.228, allocations: 263.2 kB / 0.8692 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/1.228, allocations: 7.125 kB / 0.8693 GB, free: 73.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.04764/1.276, allocations: 31.15 MB / 0.8997 GB, free: 48.37 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches