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") [: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.00146/0.00146, allocations: 199.5 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009636/0.0009636, allocations: 93.67 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 45.15 MB / 383.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4711, allocations: 110.5 MB / 0.6116 GB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4713, allocations: 75.28 kB / 0.6117 GB, free: 8.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2378/0.7092, allocations: 95.76 MB / 0.7052 GB, free: 1.039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001705/0.7094, allocations: 91.98 kB / 0.7053 GB, free: 0.9492 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01574/0.7251, allocations: 4.596 MB / 0.7098 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.7252, allocations: 12.03 kB / 0.7098 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.7393, allocations: 2.895 MB / 0.7126 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.7509, allocations: 4.199 MB / 0.7167 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.7512, allocations: 156 kB / 0.7169 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002186/0.7534, allocations: 287.9 kB / 0.7172 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/0.7689, allocations: 8.47 MB / 0.7254 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.7913, allocations: 11.13 MB / 0.7363 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.7915, allocations: 35.66 kB / 0.7363 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000797/0.7923, allocations: 16 kB / 0.7364 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.7938, allocations: 1.369 MB / 0.7377 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2186/1.012, allocations: 39.51 MB / 0.7763 GB, free: 176 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/1.017, allocations: 2.914 MB / 0.7791 GB, free: 176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/1.019, allocations: 2.407 MB / 0.7815 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01359/1.033, allocations: 10.26 MB / 0.7915 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.033, allocations: 49.72 kB / 0.7915 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=225): time 5.19e-06/1.033, allocations: 3.719 kB / 0.7915 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=234): time 0.02221/1.055, allocations: 12.46 MB / 0.8037 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.055, allocations: 79.59 kB / 0.8038 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/1.059, allocations: 2.792 MB / 0.8065 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/1.059, allocations: 25.7 kB / 0.8065 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.061, allocations: 3.201 MB / 0.8097 GB, free: 168.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006691/1.061, allocations: 0.8696 MB / 0.8105 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.062, allocations: 0 / 0.8105 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002633/1.062, allocations: 0.5806 MB / 0.8111 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/1.064, allocations: 2.379 MB / 0.8134 GB, free: 166.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/1.069, allocations: 5.902 MB / 0.8192 GB, free: 161 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004909/1.074, allocations: 3.815 MB / 0.8229 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.272e-05/1.074, allocations: 34.12 kB / 0.8229 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.01387/1.087, allocations: 8.364 MB / 0.8311 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.088, allocations: 6.469 kB / 0.8311 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/1.088, allocations: 130.7 kB / 0.8312 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/1.091, allocations: 1.062 MB / 0.8323 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005386/1.096, allocations: 1.42 MB / 0.8336 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/1.102, allocations: 4.431 MB / 0.838 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.107, allocations: 180.3 kB / 0.8381 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001434/1.108, allocations: 380.2 kB / 0.8385 GB, free: 155 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[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[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.001161/1.11, allocations: 424 kB / 0.8389 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/1.11, allocations: 304.1 kB / 0.8392 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006112/1.116, allocations: 4.332 MB / 0.8434 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.946e-05/1.116, allocations: 39.23 kB / 0.8435 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.116, allocations: 0 / 0.8435 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.116, allocations: 18.84 kB / 0.8435 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/1.13, allocations: 8.743 MB / 0.852 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.13, allocations: 3.906 kB / 0.852 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/1.131, allocations: 341.1 kB / 0.8524 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/1.133, allocations: 0.6099 MB / 0.8529 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.133, allocations: 15.23 kB / 0.853 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.135, allocations: 2.303 MB / 0.8552 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.135, allocations: 4 kB / 0.8552 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007705/1.143, allocations: 6.81 MB / 0.8619 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.144, allocations: 348.1 kB / 0.8622 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005074/1.145, allocations: 4 kB / 0.8622 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.146, allocations: 64.83 kB / 0.8623 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.146, allocations: 100.4 kB / 0.8624 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.146, allocations: 59.42 kB / 0.8624 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002438/1.149, allocations: 1.84 MB / 0.8642 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004622/1.153, allocations: 0.9348 MB / 0.8651 GB, free: 131.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (186): * Single equations (assignments): 177 * 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.0004398/1.154, allocations: 162 kB / 0.8653 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007712/1.162, allocations: 5.706 MB / 0.8709 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.162, allocations: 8.062 kB / 0.8709 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.165, allocations: 2.3 MB / 0.8731 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.167, allocations: 322.2 kB / 0.8734 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.182, allocations: 9.298 MB / 0.8825 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004503/1.186, allocations: 4.052 MB / 0.8864 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.186, allocations: 3.094 kB / 0.8865 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06436/1.251, allocations: 37.83 MB / 0.9234 GB, free: 80.18 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