Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009475/0.0009475, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008461/0.0008462, allocations: 92.8 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3276/0.3276, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.696e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4795, allocations: 104.3 MB / 0.5747 GB, free: 1.582 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4798, allocations: 77.56 kB / 0.5747 GB, free: 1.547 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.213/0.6929, allocations: 91.62 MB / 0.6642 GB, free: 14.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6929, allocations: 4 kB / 0.6642 GB, free: 14.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001321/0.693, allocations: 80 kB / 0.6643 GB, free: 14.52 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.01345/0.7065, allocations: 4.27 MB / 0.6685 GB, free: 10.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7066, allocations: 8.031 kB / 0.6685 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.7218, allocations: 3.558 MB / 0.672 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.734, allocations: 4.69 MB / 0.6765 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.7343, allocations: 332.6 kB / 0.6768 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/0.7362, allocations: 437.1 kB / 0.6773 GB, free: 1.105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.7553, allocations: 10.97 MB / 0.688 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.7554, allocations: 27.77 kB / 0.688 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/0.756, allocations: 195.9 kB / 0.6882 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.7575, allocations: 1.231 MB / 0.6894 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2638/1.021, allocations: 10.52 MB / 0.6997 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05022/1.072, allocations: 37.44 MB / 0.7362 GB, free: 86.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/1.079, allocations: 4.362 MB / 0.7405 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/1.082, allocations: 2.127 MB / 0.7426 GB, free: 85.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.083, allocations: 1.317 MB / 0.7439 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.083, allocations: 54.5 kB / 0.7439 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 6.352e-06/1.083, allocations: 3.5 kB / 0.7439 GB, free: 83.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.0337/1.116, allocations: 11.17 MB / 0.7548 GB, free: 81.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.116, allocations: 81.42 kB / 0.7549 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/1.122, allocations: 2.511 MB / 0.7573 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004422/1.122, allocations: 59.14 kB / 0.7574 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.124, allocations: 2.937 MB / 0.7603 GB, free: 77.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.125, allocations: 0.9761 MB / 0.7612 GB, free: 77.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/1.126, allocations: 118.5 kB / 0.7613 GB, free: 77.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005172/1.126, allocations: 0.556 MB / 0.7619 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/1.13, allocations: 2.289 MB / 0.7641 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00435/1.134, allocations: 5.44 MB / 0.7694 GB, free: 71.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/1.139, allocations: 3.581 MB / 0.7729 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.139, allocations: 33.47 kB / 0.773 GB, free: 69.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01707/1.156, allocations: 8.46 MB / 0.7812 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.156, allocations: 52.03 kB / 0.7813 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/1.157, allocations: 113.8 kB / 0.7814 GB, free: 67.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/1.16, allocations: 1.061 MB / 0.7824 GB, free: 67.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/1.164, allocations: 1.327 MB / 0.7837 GB, free: 66.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/1.167, allocations: 2.467 MB / 0.7861 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/1.171, allocations: 324.7 kB / 0.7864 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.172, allocations: 339.9 kB / 0.7867 GB, free: 65.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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 (722): * Single equations (assignments): 713 * 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.001721/1.174, allocations: 0.5207 MB / 0.7873 GB, free: 64.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008491/1.175, allocations: 290.7 kB / 0.7875 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00904/1.184, allocations: 5.017 MB / 0.7924 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/1.184, allocations: 51.42 kB / 0.7925 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/1.184, allocations: 4.688 kB / 0.7925 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/1.184, allocations: 15.44 kB / 0.7925 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/1.209, allocations: 11.56 MB / 0.8038 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/1.209, allocations: 15.83 kB / 0.8038 GB, free: 58.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.211, allocations: 431.2 kB / 0.8042 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/1.214, allocations: 0.897 MB / 0.8051 GB, free: 58.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/1.214, allocations: 65.75 kB / 0.8052 GB, free: 58.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.216, allocations: 2.288 MB / 0.8074 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.216, allocations: 11.84 kB / 0.8074 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.227, allocations: 8.091 MB / 0.8153 GB, free: 52.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009612/1.228, allocations: 331.7 kB / 0.8156 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/1.228, allocations: 54.5 kB / 0.8157 GB, free: 52.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.23, allocations: 136.8 kB / 0.8158 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/1.23, allocations: 159.3 kB / 0.816 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.231, allocations: 80.58 kB / 0.816 GB, free: 51.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003026/1.234, allocations: 1.705 MB / 0.8177 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.234, allocations: 0 / 0.8177 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005008/1.239, allocations: 1.012 MB / 0.8187 GB, free: 49.29 MB / 0.4948 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 (216): * Single equations (assignments): 207 * 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.0005329/1.239, allocations: 196.9 kB / 0.8189 GB, free: 49.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008779/1.248, allocations: 6.075 MB / 0.8248 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.248, allocations: 0 / 0.8248 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003776/1.252, allocations: 2.57 MB / 0.8273 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.254, allocations: 400.3 kB / 0.8277 GB, free: 40.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.273, allocations: 9.328 MB / 0.8368 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/1.279, allocations: 3.6 MB / 0.8403 GB, free: 29.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00507/1.284, allocations: 2.087 MB / 0.8424 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/1.285, allocations: 241.5 kB / 0.8426 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/1.285, allocations: 0 / 0.8426 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.0533/1.338, allocations: 31.77 MB / 0.8736 GB, free: 1.789 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches