Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009942/0.0009941, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 244.1 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007369/0.0007367, allocations: 101.2 kB / 296.1 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3177/0.3177, allocations: 44.83 MB / 393 MB, free: 35.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002846, allocations: 11.98 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2994, allocations: 62.95 MB / 0.5165 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4245, allocations: 106.3 MB / 0.6203 GB, free: 15.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4248, allocations: 83.95 kB / 0.6203 GB, free: 15.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4479/0.8728, allocations: 89.58 MB / 0.7078 GB, free: 98.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.8728, allocations: 0 / 0.7078 GB, free: 98.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.873, allocations: 78.58 kB / 0.7079 GB, free: 98.83 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.01646/0.8895, allocations: 4.313 MB / 0.7121 GB, free: 96.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8895, allocations: 8.562 kB / 0.7121 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.9042, allocations: 3.509 MB / 0.7156 GB, free: 96.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00841/0.9127, allocations: 3.322 MB / 0.7188 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/0.9131, allocations: 326.5 kB / 0.7191 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/0.9156, allocations: 424 kB / 0.7195 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02061/0.9363, allocations: 10.72 MB / 0.73 GB, free: 92.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.9365, allocations: 29.25 kB / 0.73 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009173/0.9374, allocations: 200.4 kB / 0.7302 GB, free: 92.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/0.9387, allocations: 1.192 MB / 0.7314 GB, free: 92.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.9556, allocations: 10.32 MB / 0.7414 GB, free: 88.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04146/0.9971, allocations: 36.45 MB / 0.777 GB, free: 63.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00594/1.003, allocations: 4.264 MB / 0.7812 GB, free: 58.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/1.005, allocations: 2.111 MB / 0.7833 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/1.006, allocations: 1.313 MB / 0.7845 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/1.006, allocations: 56.56 kB / 0.7846 GB, free: 55.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 4.96e-06/1.006, allocations: 0 / 0.7846 GB, free: 55.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.03106/1.037, allocations: 13.49 MB / 0.7978 GB, free: 41.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/1.037, allocations: 81.41 kB / 0.7978 GB, free: 41.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.04, allocations: 2.759 MB / 0.8005 GB, free: 38.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/1.041, allocations: 60.28 kB / 0.8006 GB, free: 38.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/1.042, allocations: 2.865 MB / 0.8034 GB, free: 35.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006107/1.042, allocations: 0.938 MB / 0.8043 GB, free: 34.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/1.042, allocations: 110.5 kB / 0.8044 GB, free: 34.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002229/1.043, allocations: 0.5459 MB / 0.805 GB, free: 34.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/1.045, allocations: 2.275 MB / 0.8072 GB, free: 31.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003463/1.049, allocations: 5.372 MB / 0.8124 GB, free: 25.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/1.056, allocations: 8.415 MB / 0.8206 GB, free: 15.14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.924e-05/1.056, allocations: 28 kB / 0.8207 GB, free: 15.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01217/1.068, allocations: 8.357 MB / 0.8288 GB, free: 6.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/1.068, allocations: 52 kB / 0.8289 GB, free: 6.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.139e-05/1.068, allocations: 112 kB / 0.829 GB, free: 6.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.071, allocations: 1.033 MB / 0.83 GB, free: 5.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/1.075, allocations: 1.291 MB / 0.8313 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.077, allocations: 2.475 MB / 0.8337 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/1.08, allocations: 319.7 kB / 0.834 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005489/1.081, allocations: 324 kB / 0.8343 GB, free: 1.004 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.003434/1.084, allocations: 2.204 MB / 0.8364 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/1.085, allocations: 280.4 kB / 0.8367 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008552/1.093, allocations: 4.947 MB / 0.8415 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/1.093, allocations: 54.64 kB / 0.8416 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.093, allocations: 0 / 0.8416 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.093, allocations: 11.95 kB / 0.8416 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.113, allocations: 11.37 MB / 0.8527 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.113, allocations: 8 kB / 0.8527 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/1.114, allocations: 411.3 kB / 0.8531 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/1.117, allocations: 0.908 MB / 0.854 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/1.118, allocations: 59.97 kB / 0.854 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/1.12, allocations: 2.264 MB / 0.8563 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.12, allocations: 16 kB / 0.8563 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.132, allocations: 7.35 MB / 0.8634 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007809/1.132, allocations: 325.5 kB / 0.8638 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/1.133, allocations: 51.92 kB / 0.8638 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.134, allocations: 139.3 kB / 0.8639 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/1.134, allocations: 157.6 kB / 0.8641 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.134, allocations: 71.97 kB / 0.8642 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00254/1.137, allocations: 1.673 MB / 0.8658 GB, free: 200 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/1.137, allocations: 0 / 0.8658 GB, free: 200 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00404/1.141, allocations: 0.9843 MB / 0.8668 GB, free: 15.21 MB / 0.5261 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.000509/1.142, allocations: 207.4 kB / 0.867 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009773/1.151, allocations: 6.001 MB / 0.8728 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.151, allocations: 64 / 0.8728 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004112/1.155, allocations: 2.545 MB / 0.8753 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/1.16, allocations: 434.6 kB / 0.8757 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2137/1.374, allocations: 13.18 MB / 0.8886 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003556/1.377, allocations: 3.436 MB / 0.8919 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.378, allocations: 277.5 kB / 0.8922 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of SimCode: time 7.62e-07/1.378, allocations: 0 / 0.8922 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.1221/1.5, allocations: 116.5 MB / 1.006 GB, free: 64.81 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches