Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008575/0.0008577, allocations: 92.72 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3457/0.3457, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002511/0.0002511, allocations: 8 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3017, allocations: 63.24 MB / 0.5192 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.431, allocations: 106.3 MB / 0.623 GB, free: 15.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4312, allocations: 79.97 kB / 0.6231 GB, free: 15.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4564/0.8876, allocations: 91.48 MB / 0.7124 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8877, allocations: 2.719 kB / 0.7124 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000167/0.8878, allocations: 80.62 kB / 0.7125 GB, free: 98.45 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: 1672 * Number of variables: 1672 Notification: Performance of Generate backend data structure: time 0.01541/0.9033, allocations: 4.459 MB / 0.7169 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9033, allocations: 9.219 kB / 0.7169 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/0.9169, allocations: 3.545 MB / 0.7203 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/0.9293, allocations: 4.033 MB / 0.7243 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.9298, allocations: 334.1 kB / 0.7246 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.9322, allocations: 431 kB / 0.725 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.9596, allocations: 11.21 MB / 0.736 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/0.9598, allocations: 28.38 kB / 0.736 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008482/0.9607, allocations: 193.5 kB / 0.7362 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001573/0.9622, allocations: 1.209 MB / 0.7373 GB, free: 94.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.9842, allocations: 10.81 MB / 0.7479 GB, free: 93.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04964/1.034, allocations: 37.2 MB / 0.7842 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/1.041, allocations: 4.575 MB / 0.7887 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.042, allocations: 1.32 MB / 0.79 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.042, allocations: 51.81 kB / 0.79 GB, free: 67.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 7.424e-06/1.042, allocations: 0 / 0.79 GB, free: 67.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=247): time 0.03219/1.075, allocations: 14.07 MB / 0.8038 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.075, allocations: 77.41 kB / 0.8039 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/1.079, allocations: 2.462 MB / 0.8063 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002503/1.079, allocations: 65.45 kB / 0.8063 GB, free: 59.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.08, allocations: 2.884 MB / 0.8091 GB, free: 57.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007322/1.081, allocations: 0.9085 MB / 0.81 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/1.082, allocations: 107.8 kB / 0.8101 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003555/1.082, allocations: 0.5545 MB / 0.8107 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.085, allocations: 2.219 MB / 0.8128 GB, free: 54.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/1.089, allocations: 5.287 MB / 0.818 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/1.093, allocations: 3.438 MB / 0.8214 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.15e-05/1.093, allocations: 32 kB / 0.8214 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=744) (initialization): time 0.01283/1.106, allocations: 8.201 MB / 0.8294 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.366e-05/1.106, allocations: 51.94 kB / 0.8294 GB, free: 37.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/1.106, allocations: 108 kB / 0.8295 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/1.109, allocations: 1.031 MB / 0.8306 GB, free: 36.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003639/1.113, allocations: 1.274 MB / 0.8318 GB, free: 35.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/1.115, allocations: 2.481 MB / 0.8342 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/1.118, allocations: 316.4 kB / 0.8345 GB, free: 33.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007934/1.119, allocations: 322.8 kB / 0.8348 GB, free: 32.73 MB / 0.4948 GB 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 (691): * Single equations (assignments): 682 * 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 {(3,100.0%),(2,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.004462/1.124, allocations: 2.217 MB / 0.837 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006794/1.124, allocations: 276.4 kB / 0.8373 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007695/1.132, allocations: 4.781 MB / 0.8419 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.933e-05/1.132, allocations: 47.98 kB / 0.842 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.132, allocations: 0 / 0.842 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/1.132, allocations: 7.969 kB / 0.842 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.15, allocations: 11.25 MB / 0.853 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.15, allocations: 16.19 kB / 0.853 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.152, allocations: 403.3 kB / 0.8534 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/1.154, allocations: 0.607 MB / 0.854 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/1.155, allocations: 55.94 kB / 0.854 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/1.156, allocations: 2.096 MB / 0.8561 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.156, allocations: 11.94 kB / 0.8561 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008774/1.165, allocations: 7.557 MB / 0.8634 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.166, allocations: 321.5 kB / 0.8638 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007772/1.167, allocations: 48 kB / 0.8638 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.169, allocations: 123.8 kB / 0.8639 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.169, allocations: 156.7 kB / 0.8641 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.169, allocations: 72 kB / 0.8641 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002732/1.172, allocations: 1.673 MB / 0.8658 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.172, allocations: 0 / 0.8658 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004292/1.176, allocations: 0.9804 MB / 0.8667 GB, free: 15.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_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 (197): * Single equations (assignments): 188 * 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.0005324/1.177, allocations: 204.4 kB / 0.8669 GB, free: 15.55 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:77:3-79:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Joints/FreeMotionScalarInit.mo:74:3-76:159:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.008567/1.185, allocations: 5.818 MB / 0.8726 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.185, allocations: 9.75 kB / 0.8726 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/1.189, allocations: 2.327 MB / 0.8749 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.191, allocations: 400.7 kB / 0.8753 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/1.207, allocations: 12.59 MB / 0.8876 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/1.211, allocations: 3.533 MB / 0.891 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004357/1.215, allocations: 2.022 MB / 0.893 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006002/1.216, allocations: 223.4 kB / 0.8932 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/1.216, allocations: 0 / 0.8932 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.2925/1.509, allocations: 30.15 MB / 0.9226 GB, free: 112.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches