Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 183.4 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.338/1.338, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008305/0.00083, allocations: 94.53 kB / 267.1 MB, free: 9.277 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.332/0.332, allocations: 43.46 MB / 358.6 MB, free: 52.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.783e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4546, allocations: 109 MB / 0.5793 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4549, allocations: 82.66 kB / 0.5793 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4827/0.9377, allocations: 99.03 MB / 0.6761 GB, free: 90.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.9377, allocations: 1.375 kB / 0.6761 GB, free: 90.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000195/0.9379, allocations: 92.91 kB / 0.6761 GB, free: 90.2 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01599/0.9539, allocations: 4.682 MB / 0.6807 GB, free: 88.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.954, allocations: 13.94 kB / 0.6807 GB, free: 88.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/0.9688, allocations: 3.624 MB / 0.6843 GB, free: 88.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/0.9813, allocations: 4.927 MB / 0.6891 GB, free: 87.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.9817, allocations: 382.2 kB / 0.6894 GB, free: 87.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/0.9842, allocations: 0.4886 MB / 0.6899 GB, free: 87.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/1.008, allocations: 12.24 MB / 0.7019 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001776/1.009, allocations: 29.19 kB / 0.7019 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/1.01, allocations: 226 kB / 0.7021 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/1.011, allocations: 1.334 MB / 0.7034 GB, free: 85.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/1.036, allocations: 11.46 MB / 0.7146 GB, free: 85.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05568/1.092, allocations: 42.33 MB / 0.756 GB, free: 60.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/1.1, allocations: 5.027 MB / 0.7609 GB, free: 58.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/1.102, allocations: 2.388 MB / 0.7632 GB, free: 57.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/1.11, allocations: 6.918 MB / 0.7699 GB, free: 53.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.11, allocations: 54.92 kB / 0.77 GB, free: 53.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 5.139e-06/1.11, allocations: 0 / 0.77 GB, free: 53.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.02773/1.138, allocations: 13.82 MB / 0.7835 GB, free: 48.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.138, allocations: 72.06 kB / 0.7836 GB, free: 48.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/1.142, allocations: 2.846 MB / 0.7863 GB, free: 46.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/1.142, allocations: 60.98 kB / 0.7864 GB, free: 46.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.143, allocations: 3.305 MB / 0.7896 GB, free: 43.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/1.144, allocations: 0.9082 MB / 0.7905 GB, free: 42.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.144, allocations: 123.3 kB / 0.7906 GB, free: 42.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/1.144, allocations: 0.5653 MB / 0.7912 GB, free: 42.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/1.147, allocations: 2.352 MB / 0.7935 GB, free: 39.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.15, allocations: 5.729 MB / 0.7991 GB, free: 32.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/1.154, allocations: 3.701 MB / 0.8027 GB, free: 29.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.142e-05/1.154, allocations: 35.95 kB / 0.8027 GB, free: 29.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01219/1.166, allocations: 8.866 MB / 0.8114 GB, free: 22.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.166, allocations: 56 kB / 0.8114 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.197e-05/1.166, allocations: 120 kB / 0.8116 GB, free: 21.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/1.169, allocations: 1.147 MB / 0.8127 GB, free: 21.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/1.173, allocations: 1.388 MB / 0.814 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/1.177, allocations: 4.589 MB / 0.8185 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.181, allocations: 322 kB / 0.8188 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004346/1.182, allocations: 355.7 kB / 0.8192 GB, free: 15.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (751): * Single equations (assignments): 743 * 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.0006504/1.182, allocations: 0.5469 MB / 0.8197 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.183, allocations: 311 kB / 0.82 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/1.188, allocations: 4.438 MB / 0.8243 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/1.189, allocations: 47.45 kB / 0.8244 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.189, allocations: 4 kB / 0.8244 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.189, allocations: 6.375 kB / 0.8244 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/1.203, allocations: 10.57 MB / 0.8347 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.203, allocations: 7.141 kB / 0.8347 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.204, allocations: 399.2 kB / 0.8351 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/1.206, allocations: 0.6753 MB / 0.8357 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/1.206, allocations: 50.8 kB / 0.8358 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/1.209, allocations: 2.469 MB / 0.8382 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.209, allocations: 7.938 kB / 0.8382 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00986/1.219, allocations: 7.27 MB / 0.8453 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.22, allocations: 361 kB / 0.8457 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/1.22, allocations: 41.09 kB / 0.8457 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.222, allocations: 148.7 kB / 0.8458 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/1.222, allocations: 133.7 kB / 0.846 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.222, allocations: 69 kB / 0.846 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002799/1.225, allocations: 1.922 MB / 0.8479 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.225, allocations: 0 / 0.8479 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004021/1.229, allocations: 1.084 MB / 0.849 GB, free: 3.969 MB / 0.4948 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 (197): * Single equations (assignments): 188 * 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.0004293/1.229, allocations: 194.4 kB / 0.8492 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2425/1.472, allocations: 5.788 MB / 0.8548 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.472, allocations: 0 / 0.8548 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004409/1.476, allocations: 2.414 MB / 0.8572 GB, free: 94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.479, allocations: 425.2 kB / 0.8576 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.496, allocations: 9.557 MB / 0.8669 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.499, allocations: 3.859 MB / 0.8707 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004426/1.504, allocations: 2.064 MB / 0.8727 GB, free: 91.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/1.504, allocations: 247 kB / 0.8729 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of SimCode: time 6.12e-07/1.504, allocations: 3.281 kB / 0.8729 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.06698/1.571, allocations: 34.51 MB / 0.9066 GB, free: 89.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches