Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2673/0.2673, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.553e-05, allocations: 8 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6239, allocations: 104.5 MB / 0.5748 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6243, allocations: 79 kB / 0.5749 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3813/1.006, allocations: 95.64 MB / 0.6683 GB, free: 7.469 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.789e-06/1.006, allocations: 4 kB / 0.6683 GB, free: 7.465 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000244/1.006, allocations: 84 kB / 0.6684 GB, free: 7.383 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02351/1.029, allocations: 4.509 MB / 0.6728 GB, free: 2.809 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.029, allocations: 12.03 kB / 0.6728 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/1.057, allocations: 3.597 MB / 0.6763 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02035/1.077, allocations: 4.823 MB / 0.681 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/1.078, allocations: 357.3 kB / 0.6814 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003158/1.081, allocations: 471.8 kB / 0.6818 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03498/1.116, allocations: 11.39 MB / 0.6929 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002236/1.117, allocations: 27.77 kB / 0.693 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/1.118, allocations: 207.9 kB / 0.6932 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002827/1.121, allocations: 1.251 MB / 0.6944 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03294/1.154, allocations: 10.81 MB / 0.7049 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4216/1.575, allocations: 38.55 MB / 0.7426 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/1.587, allocations: 4.36 MB / 0.7469 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/1.592, allocations: 2.135 MB / 0.7489 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/1.594, allocations: 1.318 MB / 0.7502 GB, free: 99.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/1.594, allocations: 52.81 kB / 0.7503 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 7.514e-06/1.594, allocations: 0 / 0.7503 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.05741/1.651, allocations: 10.78 MB / 0.7608 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.651, allocations: 79.22 kB / 0.7609 GB, free: 97.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/1.656, allocations: 2.64 MB / 0.7635 GB, free: 96.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005503/1.657, allocations: 61.05 kB / 0.7635 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.659, allocations: 3.1 MB / 0.7665 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.661, allocations: 0.9694 MB / 0.7675 GB, free: 93.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/1.661, allocations: 118.9 kB / 0.7676 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003942/1.662, allocations: 0.5652 MB / 0.7682 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005368/1.667, allocations: 2.327 MB / 0.7704 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007525/1.675, allocations: 5.606 MB / 0.7759 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007766/1.682, allocations: 3.66 MB / 0.7795 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.73e-05/1.683, allocations: 32 kB / 0.7795 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=796) (initialization): time 0.02447/1.707, allocations: 8.577 MB / 0.7879 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.202e-05/1.707, allocations: 59.72 kB / 0.7879 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/1.707, allocations: 114.2 kB / 0.788 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/1.714, allocations: 1.052 MB / 0.7891 GB, free: 83.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00854/1.722, allocations: 1.38 MB / 0.7904 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/1.726, allocations: 2.468 MB / 0.7928 GB, free: 81.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006095/1.732, allocations: 321.6 kB / 0.7931 GB, free: 81.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.734, allocations: 351.4 kB / 0.7935 GB, free: 81.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (743): * Single equations (assignments): 734 * 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.001208/1.735, allocations: 0.5427 MB / 0.794 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/1.736, allocations: 300.3 kB / 0.7943 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/1.75, allocations: 5.031 MB / 0.7992 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/1.75, allocations: 49.31 kB / 0.7992 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/1.75, allocations: 3.781 kB / 0.7993 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.945e-05/1.75, allocations: 9.891 kB / 0.7993 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0321/1.783, allocations: 11.78 MB / 0.8108 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/1.783, allocations: 4 kB / 0.8108 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/1.786, allocations: 431.4 kB / 0.8112 GB, free: 71.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006068/1.792, allocations: 0.9103 MB / 0.8121 GB, free: 70.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005725/1.793, allocations: 55.64 kB / 0.8121 GB, free: 70.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/1.796, allocations: 2.274 MB / 0.8143 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/1.796, allocations: 11.94 kB / 0.8144 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/1.815, allocations: 8.136 MB / 0.8223 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009502/1.816, allocations: 344.6 kB / 0.8226 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007965/1.817, allocations: 48 kB / 0.8227 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.819, allocations: 141.4 kB / 0.8228 GB, free: 60.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005154/1.82, allocations: 164.1 kB / 0.823 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/1.82, allocations: 79.3 kB / 0.823 GB, free: 60.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003546/1.824, allocations: 1.792 MB / 0.8248 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.31e-07/1.824, allocations: 0 / 0.8248 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006247/1.83, allocations: 1.043 MB / 0.8258 GB, free: 57.39 MB / 0.4948 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 (216): * Single equations (assignments): 207 * 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.0007475/1.831, allocations: 208.6 kB / 0.826 GB, free: 57.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.845, allocations: 6.16 MB / 0.832 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.845, allocations: 0 / 0.832 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007035/1.852, allocations: 2.574 MB / 0.8345 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/1.856, allocations: 461 kB / 0.835 GB, free: 48.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/1.88, allocations: 10.18 MB / 0.8449 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006731/1.887, allocations: 3.769 MB / 0.8486 GB, free: 36.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/1.889, allocations: 295.7 kB / 0.8489 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/1.889, allocations: 0 / 0.8489 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.5695/2.458, allocations: 120.4 MB / 0.9665 GB, free: 98.91 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches