Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 84.72 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2903/0.2903, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.939e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4079, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.5996, allocations: 103.7 MB / 0.5671 GB, free: 11.61 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5999, allocations: 75.95 kB / 0.5672 GB, free: 11.54 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7033/1.303, allocations: 90 MB / 0.6551 GB, free: 109.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.184e-06/1.303, allocations: 1.188 kB / 0.6551 GB, free: 109.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002326/1.304, allocations: 83.61 kB / 0.6552 GB, free: 109.3 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02386/1.327, allocations: 4.266 MB / 0.6593 GB, free: 107.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.327, allocations: 11.38 kB / 0.6594 GB, free: 107.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02753/1.355, allocations: 3.566 MB / 0.6628 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/1.375, allocations: 4.679 MB / 0.6674 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/1.375, allocations: 149.1 kB / 0.6675 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/1.378, allocations: 255.2 kB / 0.6678 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01814/1.396, allocations: 7.787 MB / 0.6754 GB, free: 106.6 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/1.424, allocations: 10.2 MB / 0.6853 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/1.425, allocations: 36.58 kB / 0.6854 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.427, allocations: 15.19 kB / 0.6854 GB, free: 103.4 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/1.43, allocations: 1.231 MB / 0.6866 GB, free: 103.2 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/1.502, allocations: 34.8 MB / 0.7206 GB, free: 82.46 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006626/1.509, allocations: 4.004 MB / 0.7245 GB, free: 78.54 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004032/1.513, allocations: 2.083 MB / 0.7265 GB, free: 76.65 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.515, allocations: 1.322 MB / 0.7278 GB, free: 75.21 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/1.515, allocations: 60.59 kB / 0.7279 GB, free: 75.14 MB / 475.1 MB Notification: Performance of pre-optimization done (n=246): time 6.252e-06/1.515, allocations: 0 / 0.7279 GB, free: 75.14 MB / 475.1 MB Notification: Performance of matching and sorting (n=266): time 0.04137/1.556, allocations: 12 MB / 0.7396 GB, free: 64.79 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.556, allocations: 73.41 kB / 0.7397 GB, free: 64.7 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/1.561, allocations: 2.425 MB / 0.742 GB, free: 62.57 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000555/1.561, allocations: 25.7 kB / 0.7421 GB, free: 62.54 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.564, allocations: 3.035 MB / 0.745 GB, free: 59.77 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/1.565, allocations: 0.9612 MB / 0.746 GB, free: 58.91 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006461/1.566, allocations: 4 kB / 0.746 GB, free: 58.9 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004469/1.566, allocations: 0.5816 MB / 0.7465 GB, free: 58.39 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005141/1.571, allocations: 2.257 MB / 0.7487 GB, free: 56.36 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/1.579, allocations: 5.647 MB / 0.7542 GB, free: 49.04 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007914/1.587, allocations: 3.607 MB / 0.7578 GB, free: 45.43 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.587, allocations: 36 kB / 0.7578 GB, free: 45.39 MB / 475.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02392/1.611, allocations: 8.012 MB / 0.7656 GB, free: 37.37 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.235e-05/1.611, allocations: 56 kB / 0.7657 GB, free: 37.31 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.612, allocations: 120 kB / 0.7658 GB, free: 37.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006705/1.618, allocations: 1.064 MB / 0.7668 GB, free: 36.12 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008863/1.627, allocations: 1.423 MB / 0.7682 GB, free: 34.7 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/1.631, allocations: 2.403 MB / 0.7706 GB, free: 32.18 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.637, allocations: 215.8 kB / 0.7708 GB, free: 31.97 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.639, allocations: 364 kB / 0.7711 GB, free: 31.62 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (768): * Single equations (assignments): 759 * 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.00208/1.641, allocations: 412.9 kB / 0.7715 GB, free: 31.2 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/1.641, allocations: 284.2 kB / 0.7718 GB, free: 30.92 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/1.657, allocations: 4.917 MB / 0.7766 GB, free: 25.93 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/1.657, allocations: 47.98 kB / 0.7766 GB, free: 25.89 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/1.657, allocations: 4 kB / 0.7766 GB, free: 25.88 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.126e-05/1.657, allocations: 15.77 kB / 0.7767 GB, free: 25.87 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03177/1.689, allocations: 10.44 MB / 0.7869 GB, free: 15.32 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.196e-05/1.689, allocations: 11.98 kB / 0.7869 GB, free: 15.3 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003844/1.693, allocations: 427.3 kB / 0.7873 GB, free: 14.89 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006222/1.699, allocations: 0.9038 MB / 0.7882 GB, free: 13.97 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006237/1.7, allocations: 35.97 kB / 0.7882 GB, free: 13.94 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/1.703, allocations: 2.192 MB / 0.7903 GB, free: 11.64 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/1.703, allocations: 15.89 kB / 0.7903 GB, free: 11.62 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/1.722, allocations: 8.046 MB / 0.7982 GB, free: 3.086 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009987/1.723, allocations: 325.3 kB / 0.7985 GB, free: 2.746 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.724, allocations: 16 kB / 0.7985 GB, free: 2.73 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/1.727, allocations: 103.8 kB / 0.7986 GB, free: 2.629 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000757/1.728, allocations: 169.6 kB / 0.7988 GB, free: 2.465 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.729, allocations: 79.97 kB / 0.7989 GB, free: 2.387 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.003728/1.732, allocations: 1.593 MB / 0.8004 GB, free: 0.7891 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.732, allocations: 0 / 0.8004 GB, free: 0.7891 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006975/1.739, allocations: 0.8711 MB / 0.8013 GB, free: 15.91 MB / 491.1 MB 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 (217): * Single equations (assignments): 208 * 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.0009936/1.74, allocations: 159.6 kB / 0.8014 GB, free: 15.75 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01729/1.758, allocations: 5.952 MB / 0.8072 GB, free: 9.77 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/1.758, allocations: 4.125 kB / 0.8072 GB, free: 9.766 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008485/1.766, allocations: 2.56 MB / 0.8097 GB, free: 7.156 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/1.769, allocations: 291 kB / 0.81 GB, free: 6.883 MB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/1.8, allocations: 9.806 MB / 0.8196 GB, free: 13 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009786/1.81, allocations: 3.603 MB / 0.8231 GB, free: 9.371 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.812, allocations: 291.4 kB / 0.8234 GB, free: 9.086 MB / 0.4952 GB Notification: Performance of SimCode: time 1.844e-06/1.812, allocations: 0 / 0.8234 GB, free: 9.086 MB / 0.4952 GB Notification: Performance of Templates: time 0.589/2.401, allocations: 113.5 MB / 0.9343 GB, free: 73.81 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches