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.0009943/0.0009944, allocations: 197.5 kB / 18.1 MB, free: 3.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009056/0.0009056, allocations: 99.22 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4699/0.4699, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4164, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.5632, allocations: 106.5 MB / 0.6224 GB, free: 14.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.5635, allocations: 87.94 kB / 0.6225 GB, free: 14.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5408/1.104, allocations: 93.61 MB / 0.7139 GB, free: 99.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.844e-06/1.104, allocations: 0 / 0.7139 GB, free: 99.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002302/1.105, allocations: 91.89 kB / 0.714 GB, free: 99.6 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.01748/1.122, allocations: 4.554 MB / 0.7184 GB, free: 97.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.122, allocations: 10.06 kB / 0.7184 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/1.137, allocations: 3.536 MB / 0.7219 GB, free: 97.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/1.145, allocations: 3.478 MB / 0.7253 GB, free: 96.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/1.145, allocations: 344.4 kB / 0.7256 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/1.147, allocations: 465.9 kB / 0.7261 GB, free: 96.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/1.165, allocations: 11.14 MB / 0.7369 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/1.165, allocations: 35 kB / 0.737 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006247/1.166, allocations: 209.6 kB / 0.7372 GB, free: 91.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/1.167, allocations: 1.203 MB / 0.7384 GB, free: 91.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.184, allocations: 10.6 MB / 0.7487 GB, free: 88.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05029/1.235, allocations: 37.58 MB / 0.7854 GB, free: 57.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/1.241, allocations: 4.272 MB / 0.7896 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/1.244, allocations: 2.116 MB / 0.7916 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/1.245, allocations: 1.313 MB / 0.7929 GB, free: 49.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.245, allocations: 48.56 kB / 0.793 GB, free: 48.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 7.564e-06/1.245, allocations: 0 / 0.793 GB, free: 48.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03271/1.278, allocations: 13.42 MB / 0.8061 GB, free: 35.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.278, allocations: 73.41 kB / 0.8061 GB, free: 35.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.282, allocations: 2.911 MB / 0.809 GB, free: 32.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/1.283, allocations: 65.64 kB / 0.8091 GB, free: 32.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.284, allocations: 3.033 MB / 0.812 GB, free: 29.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000892/1.285, allocations: 0.9407 MB / 0.8129 GB, free: 28.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/1.286, allocations: 115.8 kB / 0.813 GB, free: 28.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/1.286, allocations: 0.558 MB / 0.8136 GB, free: 27.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.289, allocations: 2.307 MB / 0.8158 GB, free: 25.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/1.293, allocations: 5.54 MB / 0.8213 GB, free: 18.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007617/1.301, allocations: 8.632 MB / 0.8297 GB, free: 8.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.301, allocations: 32 kB / 0.8297 GB, free: 8.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01388/1.315, allocations: 8.537 MB / 0.8381 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.315, allocations: 58.34 kB / 0.8381 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.315, allocations: 112.9 kB / 0.8382 GB, free: 15.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/1.319, allocations: 1.04 MB / 0.8392 GB, free: 14.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.323, allocations: 1.33 MB / 0.8405 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/1.326, allocations: 2.471 MB / 0.8429 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/1.33, allocations: 315 kB / 0.8432 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/1.331, allocations: 344 kB / 0.8436 GB, free: 9.707 MB / 0.4949 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.005355/1.337, allocations: 2.317 MB / 0.8458 GB, free: 7.383 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007397/1.337, allocations: 292.2 kB / 0.8461 GB, free: 7.094 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.347, allocations: 4.954 MB / 0.8509 GB, free: 2.074 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-05/1.348, allocations: 44 kB / 0.851 GB, free: 2.031 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/1.348, allocations: 4 kB / 0.851 GB, free: 2.027 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/1.348, allocations: 11.95 kB / 0.851 GB, free: 2.016 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02472/1.372, allocations: 11.55 MB / 0.8623 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/1.372, allocations: 8.969 kB / 0.8623 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.374, allocations: 411.3 kB / 0.8627 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/1.377, allocations: 0.9073 MB / 0.8636 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/1.378, allocations: 55.97 kB / 0.8636 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/1.38, allocations: 2.272 MB / 0.8658 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.38, allocations: 19.81 kB / 0.8659 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.392, allocations: 7.367 MB / 0.8731 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.394, allocations: 333.2 kB / 0.8734 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008608/1.394, allocations: 51.98 kB / 0.8734 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.396, allocations: 139.8 kB / 0.8736 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/1.397, allocations: 145.7 kB / 0.8737 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002261/1.397, allocations: 79.48 kB / 0.8738 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003915/1.401, allocations: 1.763 MB / 0.8755 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.401, allocations: 0 / 0.8755 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006119/1.407, allocations: 1.023 MB / 0.8765 GB, free: 7.453 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.0008027/1.408, allocations: 205.4 kB / 0.8767 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.42, allocations: 6.084 MB / 0.8826 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/1.42, allocations: 3.938 kB / 0.8826 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2861/1.706, allocations: 2.539 MB / 0.8851 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005363/1.712, allocations: 492.5 kB / 0.8856 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.732, allocations: 13.18 MB / 0.8985 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00529/1.737, allocations: 3.584 MB / 0.902 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005917/1.743, allocations: 2.105 MB / 0.904 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.744, allocations: 237.1 kB / 0.9042 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/1.744, allocations: 0 / 0.9042 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.06813/1.812, allocations: 32.97 MB / 0.9364 GB, free: 127.7 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/jenkins1/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