Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 197.2 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.264/1.264, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008025, allocations: 90.91 kB / 292.1 MB, free: 5.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1947/0.1947, allocations: 45.13 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.355e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09668, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4608, allocations: 111.2 MB / 0.62 GB, free: 15.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4611, allocations: 76.28 kB / 0.62 GB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2356/0.6968, allocations: 98.74 MB / 0.7165 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6968, allocations: 4 kB / 0.7165 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002472/0.6971, allocations: 91.92 kB / 0.7165 GB, free: 3.961 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: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.01709/0.7142, allocations: 4.697 MB / 0.7211 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7143, allocations: 11.97 kB / 0.7211 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.7297, allocations: 3.604 MB / 0.7247 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.741, allocations: 4.203 MB / 0.7288 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.7414, allocations: 373.7 kB / 0.7291 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.7437, allocations: 483.8 kB / 0.7296 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.7711, allocations: 11.96 MB / 0.7413 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.7713, allocations: 31.66 kB / 0.7413 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008095/0.7721, allocations: 223.8 kB / 0.7415 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.7738, allocations: 1.295 MB / 0.7428 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2665/1.04, allocations: 11.17 MB / 0.7537 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/1.091, allocations: 41.36 MB / 0.7941 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008256/1.1, allocations: 4.917 MB / 0.7989 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/1.102, allocations: 2.343 MB / 0.8012 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00748/1.11, allocations: 6.817 MB / 0.8078 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.11, allocations: 54.92 kB / 0.8079 GB, free: 104 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=226): time 4.208e-06/1.11, allocations: 3.969 kB / 0.8079 GB, free: 104 MB / 0.5261 GB Notification: Performance of matching and sorting (n=235): time 0.02521/1.135, allocations: 13.53 MB / 0.8211 GB, free: 100 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.135, allocations: 70.81 kB / 0.8212 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/1.138, allocations: 2.77 MB / 0.8239 GB, free: 98.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.138, allocations: 56.42 kB / 0.8239 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.14, allocations: 3.235 MB / 0.8271 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005108/1.14, allocations: 0.8802 MB / 0.8279 GB, free: 95.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/1.14, allocations: 117.4 kB / 0.828 GB, free: 95.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.141, allocations: 0.5604 MB / 0.8286 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/1.143, allocations: 2.298 MB / 0.8308 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/1.147, allocations: 5.592 MB / 0.8363 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/1.15, allocations: 3.608 MB / 0.8398 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.228e-05/1.15, allocations: 32.59 kB / 0.8399 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01255/1.163, allocations: 8.671 MB / 0.8483 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/1.163, allocations: 55.5 kB / 0.8484 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.575e-05/1.163, allocations: 114.8 kB / 0.8485 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/1.166, allocations: 1.137 MB / 0.8496 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004045/1.17, allocations: 1.348 MB / 0.8509 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004714/1.175, allocations: 4.577 MB / 0.8554 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/1.179, allocations: 321.8 kB / 0.8557 GB, free: 81.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009037/1.18, allocations: 347.6 kB / 0.856 GB, free: 81.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 528 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (729): * Single equations (assignments): 721 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009243/1.181, allocations: 0.5359 MB / 0.8565 GB, free: 80.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004905/1.182, allocations: 303.9 kB / 0.8568 GB, free: 80.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005973/1.188, allocations: 4.328 MB / 0.8611 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-05/1.188, allocations: 50.11 kB / 0.8611 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.188, allocations: 4 kB / 0.8611 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.188, allocations: 6.891 kB / 0.8611 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/1.203, allocations: 10.33 MB / 0.8712 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.203, allocations: 4 kB / 0.8712 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.204, allocations: 383.7 kB / 0.8716 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/1.206, allocations: 0.6692 MB / 0.8722 GB, free: 67.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.206, allocations: 51.61 kB / 0.8723 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.208, allocations: 2.413 MB / 0.8746 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.208, allocations: 4 kB / 0.8746 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007789/1.216, allocations: 7.121 MB / 0.8816 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.217, allocations: 344.7 kB / 0.8819 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.217, allocations: 49.58 kB / 0.882 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.219, allocations: 139.1 kB / 0.8821 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/1.219, allocations: 128.2 kB / 0.8822 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.219, allocations: 71.47 kB / 0.8823 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00276/1.222, allocations: 1.862 MB / 0.8841 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.222, allocations: 4 kB / 0.8841 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004409/1.227, allocations: 1.062 MB / 0.8852 GB, free: 54.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.0004351/1.227, allocations: 193.8 kB / 0.8853 GB, free: 54.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007294/1.234, allocations: 5.655 MB / 0.8909 GB, free: 49.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.234, allocations: 8.062 kB / 0.8909 GB, free: 49.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003208/1.238, allocations: 2.36 MB / 0.8932 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.24, allocations: 441.9 kB / 0.8936 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.255, allocations: 9.302 MB / 0.9027 GB, free: 38.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003525/1.259, allocations: 3.774 MB / 0.9064 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004636/1.263, allocations: 2.017 MB / 0.9083 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006772/1.264, allocations: 233.5 kB / 0.9086 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.031e-06/1.264, allocations: 0 / 0.9086 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.05578/1.32, allocations: 33.82 MB / 0.9416 GB, free: 1.457 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches