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") [: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.001141/0.001141, allocations: 199.7 kB / 8.536 MB, free: 1.777 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 225.5 MB / 234.4 MB, free: 14.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009157, allocations: 94.89 kB / 286.3 MB, free: 12.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.38/0.38, allocations: 45.14 MB / 383.3 MB, free: 40.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.241e-05/1.243e-05, allocations: 4 kB / 452.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3308, allocations: 63.24 MB / 0.5038 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4574, allocations: 105.7 MB / 0.607 GB, free: 4.688 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4576, allocations: 79.95 kB / 0.6071 GB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4404/0.898, allocations: 92.38 MB / 0.6973 GB, free: 104 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001379/0.8982, allocations: 91.84 kB / 0.6974 GB, free: 104 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01429/0.9125, allocations: 4.411 MB / 0.7017 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9125, allocations: 7.719 kB / 0.7017 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.9262, allocations: 2.865 MB / 0.7045 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.9365, allocations: 4.106 MB / 0.7085 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.9367, allocations: 148 kB / 0.7086 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.9382, allocations: 268.4 kB / 0.7089 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01028/0.9485, allocations: 8.01 MB / 0.7167 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.9647, allocations: 10.48 MB / 0.7269 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.9649, allocations: 31.19 kB / 0.727 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005828/0.9654, allocations: 12.22 kB / 0.727 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001304/0.9668, allocations: 1.281 MB / 0.7282 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/1.015, allocations: 35.51 MB / 0.7629 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/1.019, allocations: 2.414 MB / 0.7653 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/1.022, allocations: 2.171 MB / 0.7674 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/1.036, allocations: 9.368 MB / 0.7765 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.036, allocations: 50.03 kB / 0.7766 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=204): time 5.36e-06/1.036, allocations: 2.812 kB / 0.7766 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=222): time 0.02027/1.056, allocations: 8.734 MB / 0.7851 GB, free: 69.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.056, allocations: 69.62 kB / 0.7852 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004432/1.061, allocations: 2.714 MB / 0.7878 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/1.061, allocations: 25.7 kB / 0.7878 GB, free: 67.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.063, allocations: 3.077 MB / 0.7909 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007719/1.064, allocations: 0.821 MB / 0.7917 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/1.064, allocations: 0 / 0.7917 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002762/1.064, allocations: 0.577 MB / 0.7922 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/1.067, allocations: 2.294 MB / 0.7945 GB, free: 61.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/1.07, allocations: 5.699 MB / 0.8 GB, free: 54.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/1.074, allocations: 3.691 MB / 0.8036 GB, free: 50.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/1.074, allocations: 36 kB / 0.8037 GB, free: 50.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01443/1.089, allocations: 7.995 MB / 0.8115 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.089, allocations: 6.812 kB / 0.8115 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/1.089, allocations: 120 kB / 0.8116 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/1.093, allocations: 0.9326 MB / 0.8125 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/1.097, allocations: 1.378 MB / 0.8138 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.099, allocations: 2.365 MB / 0.8162 GB, free: 39.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/1.103, allocations: 169.9 kB / 0.8163 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/1.104, allocations: 358.4 kB / 0.8167 GB, free: 39.19 MB / 0.4948 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 (762): * Single equations (assignments): 753 * 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.000694/1.104, allocations: 412.9 kB / 0.8171 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/1.105, allocations: 292.2 kB / 0.8173 GB, free: 38.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007164/1.112, allocations: 4.341 MB / 0.8216 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/1.112, allocations: 35.28 kB / 0.8216 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/1.112, allocations: 4 kB / 0.8216 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/1.112, allocations: 14.03 kB / 0.8216 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/1.127, allocations: 8.657 MB / 0.8301 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.127, allocations: 0 / 0.8301 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.129, allocations: 317.2 kB / 0.8304 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/1.132, allocations: 0.7697 MB / 0.8311 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.132, allocations: 15.42 kB / 0.8311 GB, free: 26.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1.134, allocations: 2.13 MB / 0.8332 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.134, allocations: 0 / 0.8332 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009078/1.143, allocations: 6.627 MB / 0.8397 GB, free: 19.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/1.144, allocations: 337.4 kB / 0.84 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005175/1.145, allocations: 4 kB / 0.84 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.146, allocations: 56.05 kB / 0.8401 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.146, allocations: 92.3 kB / 0.8402 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.146, allocations: 57.3 kB / 0.8402 GB, free: 18.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002342/1.149, allocations: 1.793 MB / 0.842 GB, free: 17.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004023/1.153, allocations: 0.8928 MB / 0.8428 GB, free: 16.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (174): * Single equations (assignments): 165 * 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.000405/1.153, allocations: 157.6 kB / 0.843 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008138/1.161, allocations: 5.809 MB / 0.8487 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.161, allocations: 0 / 0.8487 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003376/1.165, allocations: 2.285 MB / 0.8509 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.167, allocations: 341.9 kB / 0.8512 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/1.183, allocations: 8.905 MB / 0.8599 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005731/1.189, allocations: 3.927 MB / 0.8638 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/1.189, allocations: 4 kB / 0.8638 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.213/1.402, allocations: 36.67 MB / 0.8996 GB, free: 162.5 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