Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001241/0.001242, allocations: 183 kB / 13.19 MB, free: 2.129 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.278/1.278, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008387/0.0008387, allocations: 91.84 kB / 267.1 MB, free: 9.258 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.3142/0.3142, allocations: 43.47 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.747e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4592, allocations: 104.5 MB / 0.5748 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4596, allocations: 75.97 kB / 0.5749 GB, free: 428 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2209/0.6805, allocations: 95.65 MB / 0.6683 GB, free: 156 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6805, allocations: 0 / 0.6683 GB, free: 156 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.6807, allocations: 87.98 kB / 0.6684 GB, free: 68 kB / 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.2473/0.928, allocations: 4.496 MB / 0.6728 GB, free: 90.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.9281, allocations: 11.89 kB / 0.6728 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.9441, allocations: 3.596 MB / 0.6763 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.9566, allocations: 4.824 MB / 0.681 GB, free: 90.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.957, allocations: 362.2 kB / 0.6814 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.9591, allocations: 472.4 kB / 0.6818 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/0.9795, allocations: 11.38 MB / 0.693 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.9797, allocations: 29.53 kB / 0.693 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008531/0.9806, allocations: 210.7 kB / 0.6932 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001365/0.9819, allocations: 1.249 MB / 0.6944 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/1, allocations: 10.81 MB / 0.705 GB, free: 88.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/1.052, allocations: 38.56 MB / 0.7426 GB, free: 67.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006765/1.059, allocations: 4.36 MB / 0.7469 GB, free: 65.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.061, allocations: 2.133 MB / 0.749 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008239/1.062, allocations: 1.324 MB / 0.7502 GB, free: 63.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.062, allocations: 54.81 kB / 0.7503 GB, free: 63.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.899e-06/1.062, allocations: 0 / 0.7503 GB, free: 63.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.0257/1.088, allocations: 10.77 MB / 0.7608 GB, free: 60.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.088, allocations: 74.56 kB / 0.7609 GB, free: 60.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.091, allocations: 2.634 MB / 0.7635 GB, free: 59.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.092, allocations: 57.55 kB / 0.7635 GB, free: 59.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/1.093, allocations: 3.12 MB / 0.7666 GB, free: 56.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/1.094, allocations: 0.9773 MB / 0.7675 GB, free: 55.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/1.094, allocations: 117 kB / 0.7676 GB, free: 55.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002303/1.094, allocations: 0.5659 MB / 0.7682 GB, free: 55.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.097, allocations: 2.322 MB / 0.7705 GB, free: 54.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/1.101, allocations: 5.611 MB / 0.7759 GB, free: 49.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/1.105, allocations: 3.65 MB / 0.7795 GB, free: 48.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/1.105, allocations: 39.12 kB / 0.7795 GB, free: 48.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.01334/1.118, allocations: 8.644 MB / 0.788 GB, free: 42.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/1.118, allocations: 57.03 kB / 0.788 GB, free: 42.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-05/1.118, allocations: 120.2 kB / 0.7881 GB, free: 42.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.122, allocations: 1.061 MB / 0.7892 GB, free: 41.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/1.126, allocations: 1.377 MB / 0.7905 GB, free: 40.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/1.128, allocations: 2.467 MB / 0.7929 GB, free: 38.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/1.131, allocations: 321.2 kB / 0.7932 GB, free: 37.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003443/1.131, allocations: 356.1 kB / 0.7936 GB, free: 37.53 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 () * 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.0005815/1.132, allocations: 0.5359 MB / 0.7941 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/1.132, allocations: 300.1 kB / 0.7944 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/1.139, allocations: 5.036 MB / 0.7993 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.437e-05/1.139, allocations: 44 kB / 0.7993 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.139, allocations: 0 / 0.7993 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.139, allocations: 18.25 kB / 0.7994 GB, free: 32.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.155, allocations: 11.77 MB / 0.8109 GB, free: 22.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.155, allocations: 8 kB / 0.8109 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.157, allocations: 421.3 kB / 0.8113 GB, free: 22.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/1.159, allocations: 0.9185 MB / 0.8122 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/1.16, allocations: 55.45 kB / 0.8122 GB, free: 21.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.161, allocations: 2.271 MB / 0.8144 GB, free: 19.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.161, allocations: 15.88 kB / 0.8145 GB, free: 19.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009177/1.171, allocations: 8.141 MB / 0.8224 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000874/1.172, allocations: 339.9 kB / 0.8227 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.172, allocations: 51.7 kB / 0.8228 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.173, allocations: 140.4 kB / 0.8229 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.173, allocations: 163.4 kB / 0.8231 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.174, allocations: 79.5 kB / 0.8231 GB, free: 11.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002174/1.176, allocations: 1.786 MB / 0.8249 GB, free: 9.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.176, allocations: 1.312 kB / 0.8249 GB, free: 9.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003687/1.179, allocations: 1.047 MB / 0.8259 GB, free: 8.719 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 () * 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.0003762/1.18, allocations: 197.4 kB / 0.8261 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007637/1.187, allocations: 6.156 MB / 0.8321 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.187, allocations: 4 kB / 0.8321 GB, free: 2.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/1.191, allocations: 2.571 MB / 0.8346 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/1.193, allocations: 459.9 kB / 0.8351 GB, free: 268 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.209, allocations: 9.665 MB / 0.8445 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.213, allocations: 3.765 MB / 0.8482 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005003/1.218, allocations: 2.144 MB / 0.8503 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/1.219, allocations: 251.4 kB / 0.8505 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/1.219, allocations: 0 / 0.8505 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of Templates: time 0.2995/1.519, allocations: 33.53 MB / 0.8833 GB, free: 102.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches