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.001004/0.001004, allocations: 193.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009544/0.0009545, allocations: 98.56 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.404e-05, allocations: 4 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5369, allocations: 105.6 MB / 0.6075 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5372, allocations: 76.2 kB / 0.6076 GB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2139/0.7511, allocations: 89.7 MB / 0.6951 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7511, allocations: 4 kB / 0.6952 GB, free: 11.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002089/0.7514, allocations: 80 kB / 0.6952 GB, free: 11.44 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.01617/0.7675, allocations: 4.273 MB / 0.6994 GB, free: 7.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.7676, allocations: 12.02 kB / 0.6994 GB, free: 7.086 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.7829, allocations: 3.55 MB / 0.7029 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.7949, allocations: 3.968 MB / 0.7068 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.7952, allocations: 136 kB / 0.7069 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.7977, allocations: 248 kB / 0.7071 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01405/0.8118, allocations: 7.557 MB / 0.7145 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.8367, allocations: 9.924 MB / 0.7242 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.837, allocations: 35.64 kB / 0.7242 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001809/0.8388, allocations: 16 kB / 0.7242 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/0.8406, allocations: 1.188 MB / 0.7254 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3524/1.193, allocations: 33.97 MB / 0.7586 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/1.197, allocations: 3.905 MB / 0.7624 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002655/1.2, allocations: 2.041 MB / 0.7644 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.201, allocations: 1.319 MB / 0.7657 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/1.201, allocations: 55.19 kB / 0.7657 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 4.208e-06/1.201, allocations: 0 / 0.7657 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255): time 0.02145/1.223, allocations: 9.512 MB / 0.775 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.223, allocations: 75.47 kB / 0.7751 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/1.226, allocations: 2.365 MB / 0.7774 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000298/1.226, allocations: 25.7 kB / 0.7774 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.228, allocations: 2.944 MB / 0.7803 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/1.228, allocations: 0.9157 MB / 0.7812 GB, free: 120 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.228, allocations: 0 / 0.7812 GB, free: 120 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.229, allocations: 0.5689 MB / 0.7817 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/1.231, allocations: 2.186 MB / 0.7839 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/1.235, allocations: 5.473 MB / 0.7892 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003856/1.239, allocations: 3.498 MB / 0.7926 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.962e-05/1.239, allocations: 38.02 kB / 0.7927 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01211/1.251, allocations: 7.823 MB / 0.8003 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/1.251, allocations: 53.5 kB / 0.8004 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-05/1.251, allocations: 116.1 kB / 0.8005 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/1.254, allocations: 1.067 MB / 0.8015 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/1.258, allocations: 1.368 MB / 0.8029 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.26, allocations: 2.397 MB / 0.8052 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/1.264, allocations: 202.1 kB / 0.8054 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/1.265, allocations: 352.5 kB / 0.8057 GB, free: 113.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 532 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 732 * 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.0007945/1.265, allocations: 410.3 kB / 0.8061 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/1.266, allocations: 276.7 kB / 0.8064 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007558/1.273, allocations: 4.76 MB / 0.811 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/1.273, allocations: 46.39 kB / 0.8111 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.273, allocations: 0 / 0.8111 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/1.274, allocations: 14.66 kB / 0.8111 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/1.29, allocations: 10.15 MB / 0.821 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.29, allocations: 10.25 kB / 0.821 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/1.292, allocations: 410 kB / 0.8214 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/1.295, allocations: 0.9087 MB / 0.8223 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.295, allocations: 34.39 kB / 0.8223 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/1.297, allocations: 2.188 MB / 0.8245 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/1.297, allocations: 11.25 kB / 0.8245 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/1.306, allocations: 7.813 MB / 0.8321 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/1.307, allocations: 323 kB / 0.8324 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/1.308, allocations: 12.88 kB / 0.8324 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.309, allocations: 111.6 kB / 0.8325 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/1.309, allocations: 155 kB / 0.8327 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.309, allocations: 71.36 kB / 0.8327 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00209/1.311, allocations: 1.541 MB / 0.8342 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.311, allocations: 0 / 0.8342 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004349/1.316, allocations: 0.8575 MB / 0.8351 GB, free: 100.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * 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.0004538/1.316, allocations: 177.4 kB / 0.8352 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008689/1.325, allocations: 5.769 MB / 0.8409 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.325, allocations: 0 / 0.8409 GB, free: 95.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003736/1.329, allocations: 2.481 MB / 0.8433 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.331, allocations: 294.9 kB / 0.8436 GB, free: 93.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/1.345, allocations: 9.014 MB / 0.8524 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.348, allocations: 3.507 MB / 0.8558 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004482/1.353, allocations: 2.143 MB / 0.8579 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/1.354, allocations: 226.1 kB / 0.8581 GB, free: 80.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/1.354, allocations: 0 / 0.8581 GB, free: 80.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.04771/1.401, allocations: 27.81 MB / 0.8853 GB, free: 59.75 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/jenkins/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