Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008334/0.0008334, allocations: 92.3 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 45.15 MB / 383.8 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.61e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4981, allocations: 110.5 MB / 0.6123 GB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4984, allocations: 74.28 kB / 0.6124 GB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2268/0.7252, allocations: 96.95 MB / 0.7071 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7253, allocations: 0 / 0.7071 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001478/0.7254, allocations: 96 kB / 0.7071 GB, free: 15.18 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01525/0.7407, allocations: 4.704 MB / 0.7117 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7408, allocations: 8.031 kB / 0.7118 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.7564, allocations: 3.601 MB / 0.7153 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/0.7674, allocations: 4.199 MB / 0.7194 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.7677, allocations: 156 kB / 0.7195 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.7696, allocations: 291.9 kB / 0.7198 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01326/0.7829, allocations: 8.278 MB / 0.7279 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.8047, allocations: 10.95 MB / 0.7386 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.8049, allocations: 39.62 kB / 0.7386 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008664/0.8057, allocations: 20 kB / 0.7386 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001657/0.8074, allocations: 1.287 MB / 0.7399 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/1.107, allocations: 39.01 MB / 0.778 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004629/1.112, allocations: 4.23 MB / 0.7821 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/1.114, allocations: 2.285 MB / 0.7843 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/1.115, allocations: 1.641 MB / 0.7859 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/1.115, allocations: 57.56 kB / 0.786 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 4.569e-06/1.115, allocations: 3.375 kB / 0.786 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269): time 0.02129/1.137, allocations: 14.19 MB / 0.7999 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/1.137, allocations: 104.4 kB / 0.8 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/1.14, allocations: 2.54 MB / 0.8024 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.14, allocations: 25.7 kB / 0.8025 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.141, allocations: 3.237 MB / 0.8056 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/1.142, allocations: 0.9707 MB / 0.8066 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.142, allocations: 0 / 0.8066 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002589/1.142, allocations: 0.582 MB / 0.8071 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/1.145, allocations: 2.301 MB / 0.8094 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/1.148, allocations: 5.819 MB / 0.8151 GB, free: 102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/1.152, allocations: 3.69 MB / 0.8187 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-05/1.152, allocations: 36.09 kB / 0.8187 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.01082/1.163, allocations: 8.29 MB / 0.8268 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/1.163, allocations: 59.62 kB / 0.8269 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.404e-05/1.163, allocations: 132 kB / 0.827 GB, free: 98.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002886/1.166, allocations: 1.138 MB / 0.8281 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.169, allocations: 1.455 MB / 0.8295 GB, free: 98.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/1.173, allocations: 4.444 MB / 0.8339 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/1.177, allocations: 220.4 kB / 0.8341 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004341/1.177, allocations: 370.7 kB / 0.8344 GB, free: 95.9 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (785): * Single equations (assignments): 777 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007135/1.178, allocations: 440.9 kB / 0.8348 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/1.178, allocations: 303.5 kB / 0.8351 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/1.185, allocations: 4.689 MB / 0.8397 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.185, allocations: 47.59 kB / 0.8398 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.185, allocations: 3.906 kB / 0.8398 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.185, allocations: 12.23 kB / 0.8398 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.199, allocations: 10.65 MB / 0.8502 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.199, allocations: 12 kB / 0.8502 GB, free: 89.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.201, allocations: 444.2 kB / 0.8506 GB, free: 89.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/1.202, allocations: 0.6519 MB / 0.8512 GB, free: 88.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.203, allocations: 34.33 kB / 0.8513 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.205, allocations: 2.331 MB / 0.8535 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/1.205, allocations: 15.94 kB / 0.8536 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007761/1.212, allocations: 8.003 MB / 0.8614 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/1.213, allocations: 347.6 kB / 0.8617 GB, free: 78.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.213, allocations: 15.61 kB / 0.8617 GB, free: 78.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.215, allocations: 113 kB / 0.8618 GB, free: 78.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.215, allocations: 164.3 kB / 0.862 GB, free: 78.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.215, allocations: 79.38 kB / 0.8621 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002329/1.217, allocations: 1.66 MB / 0.8637 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/1.217, allocations: 0 / 0.8637 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004775/1.222, allocations: 0.9379 MB / 0.8646 GB, free: 75.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 209 * 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.0004404/1.223, allocations: 172.8 kB / 0.8648 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007083/1.23, allocations: 5.718 MB / 0.8704 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.23, allocations: 1.625 kB / 0.8704 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/1.233, allocations: 2.489 MB / 0.8728 GB, free: 68.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.235, allocations: 338.5 kB / 0.8731 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.247, allocations: 9.671 MB / 0.8826 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/1.25, allocations: 3.788 MB / 0.8863 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004389/1.255, allocations: 2.236 MB / 0.8884 GB, free: 55.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/1.255, allocations: 242.4 kB / 0.8887 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/1.255, allocations: 0 / 0.8887 GB, free: 54.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.04659/1.302, allocations: 30.67 MB / 0.9186 GB, free: 29.75 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches