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.001085/0.001085, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000857/0.000857, allocations: 88.23 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1734/0.1734, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.905e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4708, allocations: 106.3 MB / 0.6151 GB, free: 3.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4711, allocations: 74.09 kB / 0.6152 GB, free: 3.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.215/0.6861, allocations: 91.22 MB / 0.7043 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6861, allocations: 0 / 0.7043 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001942/0.6863, allocations: 84 kB / 0.7044 GB, free: 496 kB / 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.01505/0.7014, allocations: 4.277 MB / 0.7085 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.7015, allocations: 11.97 kB / 0.7086 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.7161, allocations: 3.547 MB / 0.712 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.7264, allocations: 3.972 MB / 0.7159 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.7268, allocations: 324.4 kB / 0.7162 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002363/0.7292, allocations: 419.9 kB / 0.7166 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/0.7539, allocations: 10.67 MB / 0.727 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.7542, allocations: 39.61 kB / 0.7271 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.7562, allocations: 195.9 kB / 0.7272 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001852/0.7581, allocations: 1.184 MB / 0.7284 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/0.7781, allocations: 10.24 MB / 0.7384 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3152/1.093, allocations: 36.47 MB / 0.774 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/1.101, allocations: 4.252 MB / 0.7782 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/1.103, allocations: 2.089 MB / 0.7802 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009948/1.104, allocations: 1.319 MB / 0.7815 GB, free: 110 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.105, allocations: 52.38 kB / 0.7816 GB, free: 110 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 5.2e-06/1.105, allocations: 0 / 0.7816 GB, free: 110 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.02736/1.132, allocations: 10.96 MB / 0.7923 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/1.132, allocations: 78 kB / 0.7923 GB, free: 109 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.135, allocations: 2.438 MB / 0.7947 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.135, allocations: 60.58 kB / 0.7948 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.136, allocations: 2.861 MB / 0.7976 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/1.137, allocations: 0.9399 MB / 0.7985 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/1.137, allocations: 106.8 kB / 0.7986 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002237/1.137, allocations: 0.5584 MB / 0.7991 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.139, allocations: 2.23 MB / 0.8013 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/1.143, allocations: 5.309 MB / 0.8065 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/1.146, allocations: 3.489 MB / 0.8099 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/1.146, allocations: 32.84 kB / 0.8099 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01201/1.158, allocations: 8.276 MB / 0.818 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/1.158, allocations: 53.25 kB / 0.8181 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.158, allocations: 109.1 kB / 0.8182 GB, free: 99.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/1.162, allocations: 1.049 MB / 0.8192 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/1.166, allocations: 1.292 MB / 0.8205 GB, free: 99.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.168, allocations: 2.452 MB / 0.8229 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/1.172, allocations: 312.6 kB / 0.8232 GB, free: 98.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005319/1.172, allocations: 330.7 kB / 0.8235 GB, free: 97.99 MB / 0.5261 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.0007979/1.173, allocations: 0.5197 MB / 0.824 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.173, allocations: 277.4 kB / 0.8242 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007837/1.181, allocations: 4.904 MB / 0.829 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.994e-05/1.181, allocations: 45.98 kB / 0.8291 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.181, allocations: 3.625 kB / 0.8291 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.181, allocations: 10.22 kB / 0.8291 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.2, allocations: 11.34 MB / 0.8402 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.2, allocations: 7.625 kB / 0.8402 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.202, allocations: 411.2 kB / 0.8406 GB, free: 91.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/1.205, allocations: 0.9044 MB / 0.8414 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.205, allocations: 57.55 kB / 0.8415 GB, free: 91.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.207, allocations: 2.272 MB / 0.8437 GB, free: 90.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.207, allocations: 10.38 kB / 0.8437 GB, free: 90.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009933/1.217, allocations: 7.935 MB / 0.8515 GB, free: 85.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.218, allocations: 328.3 kB / 0.8518 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008425/1.219, allocations: 54.41 kB / 0.8518 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.22, allocations: 134.3 kB / 0.852 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.221, allocations: 151.4 kB / 0.8521 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.221, allocations: 82.78 kB / 0.8522 GB, free: 84.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002206/1.223, allocations: 1.646 MB / 0.8538 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/1.223, allocations: 0 / 0.8538 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003587/1.227, allocations: 0.989 MB / 0.8548 GB, free: 82.56 MB / 0.5261 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.0003885/1.227, allocations: 197.7 kB / 0.8549 GB, free: 82.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.235, allocations: 5.946 MB / 0.8608 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.235, allocations: 4 kB / 0.8608 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.238, allocations: 2.525 MB / 0.8632 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.24, allocations: 403.2 kB / 0.8636 GB, free: 74.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.252, allocations: 9.086 MB / 0.8725 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00278/1.255, allocations: 3.513 MB / 0.8759 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00402/1.259, allocations: 2.051 MB / 0.8779 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/1.26, allocations: 229.4 kB / 0.8781 GB, free: 62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/1.26, allocations: 4 kB / 0.8781 GB, free: 61.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.04582/1.306, allocations: 31.07 MB / 0.9085 GB, free: 35.53 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