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.001494/0.001494, allocations: 188.4 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001132/0.001131, allocations: 91.55 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5082/0.5082, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4867/0.6081, allocations: 104.6 MB / 0.5809 GB, free: 13.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6085, allocations: 79.97 kB / 0.5809 GB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7349/1.343, allocations: 95.58 MB / 0.6743 GB, free: 91.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.343, allocations: 1.641 kB / 0.6743 GB, free: 91.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003051/1.344, allocations: 87.03 kB / 0.6744 GB, free: 91.1 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02534/1.369, allocations: 4.668 MB / 0.6789 GB, free: 90.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.369, allocations: 8 kB / 0.6789 GB, free: 90.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0276/1.397, allocations: 3.589 MB / 0.6824 GB, free: 89.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01999/1.417, allocations: 4.853 MB / 0.6872 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005842/1.418, allocations: 362.4 kB / 0.6875 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003209/1.421, allocations: 466.2 kB / 0.688 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03717/1.458, allocations: 11.49 MB / 0.6992 GB, free: 87.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003499/1.458, allocations: 24.28 kB / 0.6992 GB, free: 87.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002857/1.461, allocations: 210.4 kB / 0.6994 GB, free: 87.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/1.464, allocations: 1.248 MB / 0.7006 GB, free: 87.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/1.497, allocations: 10.97 MB / 0.7113 GB, free: 87.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07838/1.576, allocations: 38.56 MB / 0.749 GB, free: 66.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.588, allocations: 4.385 MB / 0.7533 GB, free: 64.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.589, allocations: 1.324 MB / 0.7546 GB, free: 63.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.59, allocations: 48.5 kB / 0.7546 GB, free: 63.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 7.524e-06/1.59, allocations: 0 / 0.7546 GB, free: 63.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06733/1.657, allocations: 14.32 MB / 0.7686 GB, free: 58.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/1.657, allocations: 72.47 kB / 0.7687 GB, free: 58.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/1.662, allocations: 2.667 MB / 0.7713 GB, free: 57.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005424/1.663, allocations: 60.05 kB / 0.7713 GB, free: 57.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.665, allocations: 3.096 MB / 0.7743 GB, free: 54.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.667, allocations: 0.976 MB / 0.7753 GB, free: 54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/1.668, allocations: 118.4 kB / 0.7754 GB, free: 53.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005111/1.668, allocations: 0.5671 MB / 0.776 GB, free: 53.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.674, allocations: 2.374 MB / 0.7783 GB, free: 52.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008095/1.682, allocations: 5.648 MB / 0.7838 GB, free: 47.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008364/1.691, allocations: 3.663 MB / 0.7874 GB, free: 46.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.691, allocations: 32.22 kB / 0.7874 GB, free: 46.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.02458/1.715, allocations: 8.673 MB / 0.7959 GB, free: 39.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.843e-05/1.715, allocations: 59.83 kB / 0.7959 GB, free: 39.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.716, allocations: 116 kB / 0.796 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/1.722, allocations: 1.058 MB / 0.7971 GB, free: 38.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008273/1.73, allocations: 1.373 MB / 0.7984 GB, free: 37.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/1.734, allocations: 2.498 MB / 0.8009 GB, free: 35.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005761/1.74, allocations: 328.5 kB / 0.8012 GB, free: 34.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.741, allocations: 350.3 kB / 0.8015 GB, free: 34.64 MB / 490.7 MB 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 () * Number of clocked 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.005426/1.746, allocations: 2.369 MB / 0.8038 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006797/1.747, allocations: 300.9 kB / 0.8041 GB, free: 32.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.762, allocations: 5.09 MB / 0.8091 GB, free: 28.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/1.762, allocations: 40 kB / 0.8091 GB, free: 28.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.762, allocations: 4 kB / 0.8091 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.762, allocations: 13.41 kB / 0.8091 GB, free: 28.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/1.795, allocations: 11.81 MB / 0.8207 GB, free: 18.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/1.795, allocations: 11.84 kB / 0.8207 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00368/1.798, allocations: 430.9 kB / 0.8211 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006011/1.804, allocations: 0.9135 MB / 0.822 GB, free: 17.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004782/1.805, allocations: 58.75 kB / 0.822 GB, free: 17.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/1.808, allocations: 2.301 MB / 0.8243 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.808, allocations: 11.94 kB / 0.8243 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.827, allocations: 8.203 MB / 0.8323 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009751/1.828, allocations: 349.1 kB / 0.8326 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008322/1.829, allocations: 48 kB / 0.8327 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.832, allocations: 138.2 kB / 0.8328 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000548/1.832, allocations: 157.6 kB / 0.833 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/1.832, allocations: 79.97 kB / 0.833 GB, free: 6.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003702/1.836, allocations: 1.82 MB / 0.8348 GB, free: 4.758 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.836, allocations: 3.938 kB / 0.8348 GB, free: 4.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006173/1.842, allocations: 1.049 MB / 0.8358 GB, free: 3.707 MB / 490.7 MB 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 (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.0007041/1.843, allocations: 202.8 kB / 0.836 GB, free: 3.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01588/1.859, allocations: 6.233 MB / 0.8421 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.859, allocations: 0 / 0.8421 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008126/1.867, allocations: 2.597 MB / 0.8447 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.871, allocations: 455.2 kB / 0.8451 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/1.905, allocations: 14.06 MB / 0.8588 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008424/1.914, allocations: 3.77 MB / 0.8625 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/1.916, allocations: 299.4 kB / 0.8628 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/1.916, allocations: 0 / 0.8628 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of Templates: time 0.5722/2.488, allocations: 120.4 MB / 0.9804 GB, free: 69.79 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