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.001255/0.001256, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.299/1.299, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009475, allocations: 101 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3544/0.3544, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 61.89 MB / 0.5096 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.4541, allocations: 105.4 MB / 0.6125 GB, free: 5.695 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.4545, allocations: 79.97 kB / 0.6126 GB, free: 5.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4442/0.8988, allocations: 90.31 MB / 0.7008 GB, free: 96.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.8988, allocations: 3.25 kB / 0.7008 GB, free: 96.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.899, allocations: 73.19 kB / 0.7009 GB, free: 96.8 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01478/0.9138, allocations: 4.31 MB / 0.7051 GB, free: 94.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9138, allocations: 9.094 kB / 0.7051 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.9288, allocations: 3.539 MB / 0.7085 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.9415, allocations: 4.512 MB / 0.7129 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/0.942, allocations: 320.9 kB / 0.7132 GB, free: 94.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.9446, allocations: 431.9 kB / 0.7137 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02307/0.9677, allocations: 10.75 MB / 0.7242 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.9679, allocations: 32.67 kB / 0.7242 GB, free: 91.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.9694, allocations: 191.8 kB / 0.7244 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/0.9708, allocations: 1.19 MB / 0.7255 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/0.9888, allocations: 10.39 MB / 0.7357 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05107/1.04, allocations: 36.49 MB / 0.7713 GB, free: 66.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/1.047, allocations: 4.276 MB / 0.7755 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.048, allocations: 1.317 MB / 0.7768 GB, free: 62.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.048, allocations: 52.56 kB / 0.7768 GB, free: 62.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.183e-06/1.048, allocations: 0 / 0.7768 GB, free: 62.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03402/1.082, allocations: 14.02 MB / 0.7905 GB, free: 50.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/1.082, allocations: 77.34 kB / 0.7906 GB, free: 50.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/1.086, allocations: 2.459 MB / 0.793 GB, free: 48.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005944/1.087, allocations: 61.7 kB / 0.7931 GB, free: 48.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.088, allocations: 2.868 MB / 0.7959 GB, free: 45.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/1.089, allocations: 0.9347 MB / 0.7968 GB, free: 44.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.089, allocations: 112 kB / 0.7969 GB, free: 44.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/1.089, allocations: 0.5489 MB / 0.7974 GB, free: 44.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.092, allocations: 2.274 MB / 0.7996 GB, free: 42.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/1.096, allocations: 5.349 MB / 0.8049 GB, free: 35.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/1.1, allocations: 3.493 MB / 0.8083 GB, free: 31.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.662e-05/1.1, allocations: 36 kB / 0.8083 GB, free: 31.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01322/1.113, allocations: 8.356 MB / 0.8165 GB, free: 23.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.113, allocations: 54.34 kB / 0.8165 GB, free: 23.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.113, allocations: 108 kB / 0.8166 GB, free: 23.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/1.117, allocations: 1.045 MB / 0.8176 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/1.121, allocations: 1.298 MB / 0.8189 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/1.123, allocations: 2.49 MB / 0.8213 GB, free: 18.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.127, allocations: 314.6 kB / 0.8216 GB, free: 18.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009057/1.128, allocations: 324 kB / 0.8219 GB, free: 17.77 MB / 490.7 MB 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 () * Number of clocked 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.004604/1.132, allocations: 2.215 MB / 0.8241 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/1.133, allocations: 280.3 kB / 0.8244 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/1.141, allocations: 4.947 MB / 0.8292 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.549e-05/1.141, allocations: 48.53 kB / 0.8292 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.141, allocations: 3.953 kB / 0.8293 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.141, allocations: 11.95 kB / 0.8293 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/1.16, allocations: 11.36 MB / 0.8404 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/1.16, allocations: 7.844 kB / 0.8404 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.161, allocations: 412.3 kB / 0.8408 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00316/1.164, allocations: 0.9034 MB / 0.8416 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.165, allocations: 55.97 kB / 0.8417 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/1.167, allocations: 2.303 MB / 0.8439 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.167, allocations: 8 kB / 0.844 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/1.179, allocations: 7.995 MB / 0.8518 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/1.18, allocations: 325.4 kB / 0.8521 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/1.181, allocations: 51.44 kB / 0.8521 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.182, allocations: 135.8 kB / 0.8522 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/1.183, allocations: 157.6 kB / 0.8524 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/1.183, allocations: 75.58 kB / 0.8525 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00359/1.187, allocations: 1.673 MB / 0.8541 GB, free: 132 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.187, allocations: 0 / 0.8541 GB, free: 132 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006144/1.193, allocations: 0.9805 MB / 0.8551 GB, free: 15.14 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 () * Number of clocked 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.000869/1.194, allocations: 202.9 kB / 0.8553 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.207, allocations: 6.003 MB / 0.8611 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.207, allocations: 4.062 kB / 0.8611 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/1.211, allocations: 2.549 MB / 0.8636 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.214, allocations: 400.7 kB / 0.864 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2478/1.462, allocations: 12.65 MB / 0.8763 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/1.465, allocations: 3.525 MB / 0.8798 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004391/1.47, allocations: 2.046 MB / 0.8818 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007216/1.471, allocations: 231.7 kB / 0.882 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.064e-06/1.471, allocations: 0 / 0.882 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.05927/1.53, allocations: 31.08 MB / 0.9124 GB, free: 110.6 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