Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.3 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 92.03 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1789/0.1789, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.474e-05, allocations: 7.984 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4824, allocations: 105.3 MB / 0.6046 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4827, allocations: 83.67 kB / 0.6047 GB, free: 15.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2449/0.7277, allocations: 90.37 MB / 0.6929 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7277, allocations: 0 / 0.6929 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001642/0.7279, allocations: 79.98 kB / 0.693 GB, free: 4.73 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01435/0.7423, allocations: 4.171 MB / 0.6971 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.7424, allocations: 12.03 kB / 0.6971 GB, free: 492 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.7574, allocations: 3.539 MB / 0.7005 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.7687, allocations: 4.491 MB / 0.7049 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.7689, allocations: 328.4 kB / 0.7052 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.7705, allocations: 423.8 kB / 0.7056 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2809/1.051, allocations: 10.67 MB / 0.7161 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/1.052, allocations: 30.09 kB / 0.7161 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008136/1.052, allocations: 191.9 kB / 0.7163 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/1.054, allocations: 1.188 MB / 0.7174 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/1.074, allocations: 10.25 MB / 0.7274 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05083/1.125, allocations: 36.47 MB / 0.763 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006173/1.131, allocations: 4.246 MB / 0.7672 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/1.134, allocations: 2.1 MB / 0.7692 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/1.135, allocations: 1.318 MB / 0.7705 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.702e-05/1.135, allocations: 55.47 kB / 0.7706 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 6.031e-06/1.135, allocations: 0 / 0.7706 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.02904/1.164, allocations: 10.96 MB / 0.7813 GB, free: 100 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.164, allocations: 72.59 kB / 0.7814 GB, free: 99.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/1.168, allocations: 2.442 MB / 0.7837 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/1.168, allocations: 59.56 kB / 0.7838 GB, free: 99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.169, allocations: 2.86 MB / 0.7866 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007424/1.17, allocations: 0.9437 MB / 0.7875 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/1.17, allocations: 110 kB / 0.7876 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003242/1.171, allocations: 0.5515 MB / 0.7882 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002724/1.173, allocations: 2.227 MB / 0.7903 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/1.177, allocations: 5.31 MB / 0.7955 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/1.181, allocations: 3.492 MB / 0.7989 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.661e-05/1.181, allocations: 28.5 kB / 0.799 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.0123/1.194, allocations: 8.276 MB / 0.807 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.78e-05/1.194, allocations: 55.98 kB / 0.8071 GB, free: 86.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/1.194, allocations: 111.8 kB / 0.8072 GB, free: 86.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003408/1.197, allocations: 1.049 MB / 0.8082 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.202, allocations: 1.292 MB / 0.8095 GB, free: 84.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/1.204, allocations: 2.454 MB / 0.8119 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.207, allocations: 312.4 kB / 0.8122 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/1.208, allocations: 327.5 kB / 0.8125 GB, free: 81.46 MB / 0.5105 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 () * 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.000909/1.209, allocations: 0.5113 MB / 0.813 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/1.209, allocations: 284.3 kB / 0.8133 GB, free: 80.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007746/1.217, allocations: 4.917 MB / 0.8181 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.417e-05/1.217, allocations: 44.7 kB / 0.8181 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.217, allocations: 7.469 kB / 0.8181 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.217, allocations: 6.656 kB / 0.8181 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/1.235, allocations: 11.33 MB / 0.8292 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/1.235, allocations: 8 kB / 0.8292 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.237, allocations: 404.2 kB / 0.8296 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/1.24, allocations: 0.9126 MB / 0.8305 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.24, allocations: 55.73 kB / 0.8305 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.242, allocations: 2.271 MB / 0.8327 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.242, allocations: 15.56 kB / 0.8328 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009157/1.251, allocations: 7.928 MB / 0.8405 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/1.252, allocations: 329 kB / 0.8408 GB, free: 56.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/1.252, allocations: 43.94 kB / 0.8409 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.253, allocations: 143.6 kB / 0.841 GB, free: 56.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.253, allocations: 146 kB / 0.8411 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.254, allocations: 76.7 kB / 0.8412 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002208/1.256, allocations: 1.657 MB / 0.8428 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.256, allocations: 0 / 0.8428 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003652/1.26, allocations: 0.9901 MB / 0.8438 GB, free: 53.66 MB / 0.5105 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 () * 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.0003831/1.26, allocations: 202.5 kB / 0.844 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007462/1.267, allocations: 5.94 MB / 0.8498 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.267, allocations: 4 kB / 0.8498 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003573/1.271, allocations: 2.525 MB / 0.8523 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.273, allocations: 406 kB / 0.8526 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.287, allocations: 9.087 MB / 0.8615 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/1.29, allocations: 3.52 MB / 0.865 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003901/1.294, allocations: 2.052 MB / 0.867 GB, free: 31.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/1.294, allocations: 223.4 kB / 0.8672 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/1.294, allocations: 0 / 0.8672 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.04585/1.34, allocations: 31.09 MB / 0.8975 GB, free: 0.6406 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches