Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009669/0.0009669, allocations: 196.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.245/1.245, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007954/0.0007955, allocations: 94.23 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.913e-05, allocations: 8 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09642, allocations: 63.24 MB / 0.5114 GB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4658, allocations: 106.4 MB / 0.6153 GB, free: 3.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4661, allocations: 81.45 kB / 0.6154 GB, free: 3.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2174/0.6835, allocations: 95.27 MB / 0.7084 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6836, allocations: 0 / 0.7084 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001516/0.6837, allocations: 80 kB / 0.7085 GB, free: 12.23 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01456/0.6983, allocations: 4.516 MB / 0.7129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.6984, allocations: 11.97 kB / 0.7129 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7129, allocations: 3.574 MB / 0.7164 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.7237, allocations: 4.124 MB / 0.7204 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.7241, allocations: 345 kB / 0.7208 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.7261, allocations: 455.8 kB / 0.7212 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.7465, allocations: 11.09 MB / 0.732 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.7466, allocations: 43.61 kB / 0.7321 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005964/0.7472, allocations: 203.9 kB / 0.7323 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.7487, allocations: 1.204 MB / 0.7334 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.7671, allocations: 10.53 MB / 0.7437 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3249/1.092, allocations: 37.6 MB / 0.7804 GB, free: 113 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/1.1, allocations: 4.256 MB / 0.7846 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/1.102, allocations: 2.095 MB / 0.7866 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008562/1.103, allocations: 1.318 MB / 0.7879 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.103, allocations: 49.75 kB / 0.788 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 6.232e-06/1.103, allocations: 3.094 kB / 0.788 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=256): time 0.0258/1.129, allocations: 10.56 MB / 0.7983 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.129, allocations: 70.66 kB / 0.7984 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004949/1.134, allocations: 2.573 MB / 0.8009 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004286/1.134, allocations: 57.77 kB / 0.8009 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.136, allocations: 3.032 MB / 0.8039 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.137, allocations: 0.9535 MB / 0.8048 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/1.137, allocations: 113 kB / 0.8049 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002663/1.137, allocations: 0.565 MB / 0.8055 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.14, allocations: 2.265 MB / 0.8077 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/1.144, allocations: 5.465 MB / 0.813 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/1.147, allocations: 3.574 MB / 0.8165 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/1.147, allocations: 32.16 kB / 0.8165 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01332/1.161, allocations: 8.455 MB / 0.8248 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.49e-05/1.161, allocations: 52.66 kB / 0.8248 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/1.161, allocations: 110.9 kB / 0.825 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/1.165, allocations: 1.056 MB / 0.826 GB, free: 98.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00396/1.169, allocations: 1.329 MB / 0.8273 GB, free: 97.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.171, allocations: 2.466 MB / 0.8297 GB, free: 96.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.174, allocations: 314 kB / 0.83 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005689/1.175, allocations: 341.1 kB / 0.8303 GB, free: 96.19 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (721): * Single equations (assignments): 712 * 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.0007703/1.176, allocations: 0.5364 MB / 0.8308 GB, free: 95.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/1.176, allocations: 292.5 kB / 0.8311 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007826/1.184, allocations: 4.917 MB / 0.8359 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/1.184, allocations: 47.06 kB / 0.836 GB, free: 93.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.184, allocations: 3.938 kB / 0.836 GB, free: 93.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/1.184, allocations: 9.469 kB / 0.836 GB, free: 93.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/1.202, allocations: 11.53 MB / 0.8472 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.203, allocations: 7.625 kB / 0.8472 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.204, allocations: 407.8 kB / 0.8476 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.207, allocations: 0.9095 MB / 0.8485 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002035/1.207, allocations: 55.47 kB / 0.8486 GB, free: 89.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.209, allocations: 2.272 MB / 0.8508 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.209, allocations: 11.94 kB / 0.8508 GB, free: 87.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009094/1.218, allocations: 7.975 MB / 0.8586 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007085/1.219, allocations: 328.3 kB / 0.8589 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005117/1.22, allocations: 57.86 kB / 0.859 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.221, allocations: 134.8 kB / 0.8591 GB, free: 79.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.221, allocations: 159.3 kB / 0.8592 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.221, allocations: 80.16 kB / 0.8593 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002548/1.224, allocations: 1.732 MB / 0.861 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.224, allocations: 0 / 0.861 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003839/1.228, allocations: 1.03 MB / 0.862 GB, free: 77.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.0004342/1.228, allocations: 196.5 kB / 0.8622 GB, free: 77.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007595/1.236, allocations: 6.022 MB / 0.8681 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.236, allocations: 384 / 0.8681 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.239, allocations: 2.528 MB / 0.8706 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.241, allocations: 460.4 kB / 0.871 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.255, allocations: 9.39 MB / 0.8802 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003778/1.258, allocations: 3.681 MB / 0.8838 GB, free: 57.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004341/1.263, allocations: 2.095 MB / 0.8858 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/1.264, allocations: 242.7 kB / 0.886 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of SimCode: time 7.21e-07/1.264, allocations: 0 / 0.886 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.05115/1.315, allocations: 32.84 MB / 0.9181 GB, free: 26.11 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches