Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007605/0.0007606, allocations: 97.91 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3687/0.3687, allocations: 44.81 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4289, allocations: 62.95 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5872, allocations: 106.3 MB / 0.6222 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5875, allocations: 83.94 kB / 0.6223 GB, free: 14.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5423/1.13, allocations: 89.57 MB / 0.7098 GB, free: 99.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.13, allocations: 4 kB / 0.7098 GB, free: 99.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003392/1.13, allocations: 79.62 kB / 0.7099 GB, free: 99.36 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01914/1.149, allocations: 4.308 MB / 0.7141 GB, free: 97.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.15, allocations: 14.19 kB / 0.7141 GB, free: 97.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/1.165, allocations: 3.508 MB / 0.7175 GB, free: 97.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.175, allocations: 3.321 MB / 0.7207 GB, free: 96.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/1.175, allocations: 326.3 kB / 0.7211 GB, free: 96.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003299/1.179, allocations: 425.9 kB / 0.7215 GB, free: 96.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02666/1.205, allocations: 10.72 MB / 0.7319 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/1.206, allocations: 33.97 kB / 0.732 GB, free: 92.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/1.208, allocations: 193 kB / 0.7321 GB, free: 92.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/1.21, allocations: 1.187 MB / 0.7333 GB, free: 92.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/1.231, allocations: 10.32 MB / 0.7434 GB, free: 89.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/1.289, allocations: 36.45 MB / 0.779 GB, free: 63.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/1.296, allocations: 4.276 MB / 0.7832 GB, free: 58.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/1.299, allocations: 2.111 MB / 0.7852 GB, free: 56.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/1.3, allocations: 1.318 MB / 0.7865 GB, free: 55.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.3, allocations: 48.56 kB / 0.7865 GB, free: 55.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 8.025e-06/1.3, allocations: 0 / 0.7865 GB, free: 55.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03468/1.334, allocations: 13.49 MB / 0.7997 GB, free: 41.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.334, allocations: 73.41 kB / 0.7998 GB, free: 41.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004732/1.339, allocations: 2.762 MB / 0.8025 GB, free: 38.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/1.339, allocations: 60.05 kB / 0.8025 GB, free: 38.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.341, allocations: 2.867 MB / 0.8053 GB, free: 35.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008994/1.342, allocations: 0.938 MB / 0.8063 GB, free: 34.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004268/1.342, allocations: 108 kB / 0.8064 GB, free: 34.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003959/1.343, allocations: 0.5537 MB / 0.8069 GB, free: 34.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.346, allocations: 2.268 MB / 0.8091 GB, free: 31.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004203/1.35, allocations: 5.372 MB / 0.8144 GB, free: 25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007915/1.358, allocations: 8.415 MB / 0.8226 GB, free: 15.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/1.358, allocations: 28 kB / 0.8226 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01455/1.373, allocations: 8.36 MB / 0.8308 GB, free: 6.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/1.373, allocations: 50.97 kB / 0.8308 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/1.373, allocations: 108 kB / 0.8309 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003121/1.376, allocations: 1.04 MB / 0.8319 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/1.38, allocations: 1.294 MB / 0.8332 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.382, allocations: 2.471 MB / 0.8356 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.385, allocations: 303.7 kB / 0.8359 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/1.386, allocations: 328 kB / 0.8362 GB, free: 0.9492 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 490 * Number of states: 0 () * Number of discrete variables: 26 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 691 * 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.003976/1.39, allocations: 2.215 MB / 0.8384 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/1.391, allocations: 276.4 kB / 0.8387 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/1.4, allocations: 4.947 MB / 0.8435 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/1.4, allocations: 49.39 kB / 0.8435 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/1.4, allocations: 4 kB / 0.8435 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.4, allocations: 7.969 kB / 0.8435 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.423, allocations: 11.37 MB / 0.8546 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/1.423, allocations: 8 kB / 0.8547 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.425, allocations: 407.4 kB / 0.855 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/1.428, allocations: 0.9154 MB / 0.8559 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/1.429, allocations: 51.98 kB / 0.856 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/1.431, allocations: 2.26 MB / 0.8582 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.431, allocations: 11.94 kB / 0.8582 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.444, allocations: 7.354 MB / 0.8654 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.445, allocations: 329.4 kB / 0.8657 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000816/1.446, allocations: 47.98 kB / 0.8657 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.448, allocations: 138.3 kB / 0.8659 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.448, allocations: 161.5 kB / 0.866 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.448, allocations: 71.98 kB / 0.8661 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002841/1.451, allocations: 1.673 MB / 0.8677 GB, free: 144 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/1.451, allocations: 0 / 0.8677 GB, free: 144 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004672/1.456, allocations: 0.9872 MB / 0.8687 GB, free: 15.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.0005764/1.456, allocations: 201 kB / 0.8689 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009974/1.466, allocations: 6.001 MB / 0.8748 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.466, allocations: 4 kB / 0.8748 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/1.471, allocations: 2.546 MB / 0.8772 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/1.476, allocations: 436.9 kB / 0.8777 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3048/1.78, allocations: 12.68 MB / 0.89 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/1.785, allocations: 3.432 MB / 0.8934 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004643/1.789, allocations: 2.046 MB / 0.8954 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/1.79, allocations: 230.6 kB / 0.8956 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/1.79, allocations: 3.75 kB / 0.8956 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.07028/1.86, allocations: 31.2 MB / 0.9261 GB, free: 129.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches