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.001057/0.001057, allocations: 198.8 kB / 17.08 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.2 MB / 245 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009708/0.0009708, allocations: 110.8 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3216/0.3216, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002423, allocations: 8 kB / 468.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3003, allocations: 63.24 MB / 0.5192 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4382, allocations: 106.5 MB / 0.6232 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4385, allocations: 79.97 kB / 0.6233 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4639/0.9025, allocations: 95.2 MB / 0.7162 GB, free: 101.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.9025, allocations: 4 kB / 0.7162 GB, free: 101.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002151/0.9028, allocations: 85.28 kB / 0.7163 GB, free: 101.4 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01803/0.9208, allocations: 4.672 MB / 0.7209 GB, free: 99.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.9209, allocations: 6.938 kB / 0.7209 GB, free: 99.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.9341, allocations: 3.568 MB / 0.7244 GB, free: 99.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.9458, allocations: 4.138 MB / 0.7284 GB, free: 97.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/0.9462, allocations: 352.6 kB / 0.7287 GB, free: 97.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/0.9493, allocations: 462.5 kB / 0.7292 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02242/0.9717, allocations: 11.18 MB / 0.7401 GB, free: 92.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.9719, allocations: 29.19 kB / 0.7401 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/0.9733, allocations: 204.2 kB / 0.7403 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001289/0.9746, allocations: 1.207 MB / 0.7415 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/0.9901, allocations: 10.68 MB / 0.7519 GB, free: 89.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04628/1.036, allocations: 37.62 MB / 0.7887 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/1.043, allocations: 4.276 MB / 0.7929 GB, free: 47.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009722/1.044, allocations: 1.315 MB / 0.7941 GB, free: 45.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.044, allocations: 60.5 kB / 0.7942 GB, free: 45.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 4.969e-06/1.044, allocations: 0 / 0.7942 GB, free: 45.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.0328/1.077, allocations: 13.93 MB / 0.8078 GB, free: 31.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.077, allocations: 77.41 kB / 0.8079 GB, free: 31.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/1.081, allocations: 2.597 MB / 0.8104 GB, free: 28.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.081, allocations: 61.14 kB / 0.8105 GB, free: 28.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.083, allocations: 3.029 MB / 0.8134 GB, free: 25.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006853/1.083, allocations: 0.943 MB / 0.8143 GB, free: 24.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.083, allocations: 116 kB / 0.8145 GB, free: 24.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/1.084, allocations: 0.5541 MB / 0.815 GB, free: 24.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/1.086, allocations: 2.311 MB / 0.8173 GB, free: 21.94 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003484/1.09, allocations: 5.513 MB / 0.8226 GB, free: 14.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.093, allocations: 3.571 MB / 0.8261 GB, free: 11.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-05/1.093, allocations: 32 kB / 0.8262 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01161/1.105, allocations: 8.545 MB / 0.8345 GB, free: 2.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/1.105, allocations: 52 kB / 0.8346 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.081e-05/1.105, allocations: 112 kB / 0.8347 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003218/1.108, allocations: 1.056 MB / 0.8357 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.112, allocations: 1.333 MB / 0.837 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.115, allocations: 2.502 MB / 0.8394 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/1.119, allocations: 310.6 kB / 0.8397 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005823/1.119, allocations: 343.9 kB / 0.8401 GB, free: 12.84 MB / 0.4948 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 () * Number of clocked 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.00433/1.124, allocations: 2.309 MB / 0.8423 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/1.124, allocations: 296.1 kB / 0.8426 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008683/1.133, allocations: 4.961 MB / 0.8474 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-05/1.133, allocations: 46.73 kB / 0.8475 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.133, allocations: 3.984 kB / 0.8475 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/1.133, allocations: 7.969 kB / 0.8475 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.155, allocations: 11.56 MB / 0.8588 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.155, allocations: 8 kB / 0.8588 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.157, allocations: 411.3 kB / 0.8592 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/1.16, allocations: 0.9075 MB / 0.8601 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/1.161, allocations: 58.08 kB / 0.8601 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/1.163, allocations: 2.295 MB / 0.8624 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.163, allocations: 11.94 kB / 0.8624 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.175, allocations: 8.035 MB / 0.8702 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.176, allocations: 341.2 kB / 0.8706 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.176, allocations: 48.11 kB / 0.8706 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.177, allocations: 139.8 kB / 0.8707 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/1.178, allocations: 153.6 kB / 0.8709 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.178, allocations: 78.48 kB / 0.871 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002767/1.181, allocations: 1.763 MB / 0.8727 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/1.181, allocations: 0 / 0.8727 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004428/1.185, allocations: 1.022 MB / 0.8737 GB, free: 9.598 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 () * 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.0005066/1.186, allocations: 200.4 kB / 0.8739 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009826/1.195, allocations: 6.082 MB / 0.8798 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.195, allocations: 0 / 0.8798 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003982/1.199, allocations: 2.538 MB / 0.8823 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.202, allocations: 471 kB / 0.8827 GB, free: 240 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2343/1.436, allocations: 13.14 MB / 0.8956 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.439, allocations: 3.679 MB / 0.8992 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004088/1.443, allocations: 2.1 MB / 0.9012 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/1.444, allocations: 241.4 kB / 0.9014 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/1.444, allocations: 0 / 0.9014 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.0601/1.504, allocations: 32.83 MB / 0.9335 GB, free: 129.3 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