Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") [: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.001269/0.001269, allocations: 196.7 kB / 8.539 MB, free: 1.738 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009598/0.0009597, allocations: 89.66 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.275e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4792, allocations: 110.5 MB / 0.6117 GB, free: 8.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4794, allocations: 79.28 kB / 0.6117 GB, free: 8.746 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2424/0.7218, allocations: 96.18 MB / 0.7057 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001913/0.7221, allocations: 88 kB / 0.7058 GB, free: 0.5469 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: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02109/0.7432, allocations: 4.623 MB / 0.7103 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7432, allocations: 8.031 kB / 0.7103 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.7582, allocations: 2.903 MB / 0.7131 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01222/0.7705, allocations: 4.215 MB / 0.7172 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.7709, allocations: 156 kB / 0.7174 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.7735, allocations: 291.8 kB / 0.7177 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01575/0.7892, allocations: 8.493 MB / 0.7259 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/0.817, allocations: 11.17 MB / 0.7369 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003628/0.8174, allocations: 39.75 kB / 0.7369 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002483/0.8199, allocations: 16 kB / 0.7369 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.8221, allocations: 1.373 MB / 0.7382 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.235/1.057, allocations: 39.57 MB / 0.7769 GB, free: 175.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004092/1.061, allocations: 2.935 MB / 0.7798 GB, free: 175.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/1.064, allocations: 2.415 MB / 0.7821 GB, free: 175.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/1.079, allocations: 10.29 MB / 0.7922 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.079, allocations: 52.5 kB / 0.7922 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 5.961e-06/1.079, allocations: 3.562 kB / 0.7922 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.02954/1.109, allocations: 15.34 MB / 0.8072 GB, free: 170 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.109, allocations: 74.03 kB / 0.8073 GB, free: 170 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/1.113, allocations: 2.797 MB / 0.81 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/1.114, allocations: 25.7 kB / 0.81 GB, free: 169.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.115, allocations: 3.205 MB / 0.8132 GB, free: 166.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/1.116, allocations: 0.9457 MB / 0.8141 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.116, allocations: 2.875 kB / 0.8141 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002889/1.116, allocations: 0.5806 MB / 0.8147 GB, free: 165.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.119, allocations: 2.526 MB / 0.8171 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/1.123, allocations: 6.065 MB / 0.823 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/1.128, allocations: 3.99 MB / 0.8269 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-05/1.128, allocations: 38.25 kB / 0.827 GB, free: 158.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02019/1.148, allocations: 9.546 MB / 0.8363 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/1.148, allocations: 5.156 kB / 0.8363 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002579/1.148, allocations: 126 kB / 0.8364 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009847/1.158, allocations: 2.159 MB / 0.8385 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005539/1.164, allocations: 1.428 MB / 0.8399 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/1.178, allocations: 9.319 MB / 0.849 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.183, allocations: 178.7 kB / 0.8492 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/1.185, allocations: 395.1 kB / 0.8496 GB, free: 146 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[3]: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.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: 0 * Non-linear torn systems: 2 {4 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.186, allocations: 434.3 kB / 0.85 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/1.187, allocations: 308 kB / 0.8503 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006807/1.193, allocations: 4.758 MB / 0.8549 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/1.194, allocations: 43.27 kB / 0.855 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.194, allocations: 4 kB / 0.855 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.194, allocations: 10.78 kB / 0.855 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.21, allocations: 9.477 MB / 0.8642 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.21, allocations: 7.906 kB / 0.8642 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.212, allocations: 393.1 kB / 0.8646 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/1.214, allocations: 0.6454 MB / 0.8653 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000212/1.214, allocations: 31.48 kB / 0.8653 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.216, allocations: 2.303 MB / 0.8675 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.216, allocations: 4 kB / 0.8675 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007984/1.224, allocations: 7.335 MB / 0.8747 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007469/1.225, allocations: 354.9 kB / 0.875 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/1.225, allocations: 12 kB / 0.875 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.227, allocations: 67.47 kB / 0.8751 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/1.227, allocations: 112.1 kB / 0.8752 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.227, allocations: 75.45 kB / 0.8753 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002323/1.23, allocations: 1.83 MB / 0.8771 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004068/1.234, allocations: 1.013 MB / 0.8781 GB, free: 120.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * 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.0003825/1.234, allocations: 162.7 kB / 0.8782 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007401/1.241, allocations: 6.111 MB / 0.8842 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.241, allocations: 4 kB / 0.8842 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003494/1.245, allocations: 2.533 MB / 0.8867 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.247, allocations: 322.9 kB / 0.887 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.263, allocations: 9.419 MB / 0.8962 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004573/1.268, allocations: 4.125 MB / 0.9002 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of SimCode: time 8.22e-07/1.268, allocations: 0 / 0.9002 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.06628/1.334, allocations: 44.01 MB / 0.9432 GB, free: 59.96 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches