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.002194/0.002194, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 91.23 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3016/0.3016, allocations: 43.48 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.855e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3879, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.5941, allocations: 103.8 MB / 0.5673 GB, free: 11.45 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000416/0.5946, allocations: 75.97 kB / 0.5674 GB, free: 11.38 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7617/1.356, allocations: 93.9 MB / 0.6591 GB, free: 109.9 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.245e-06/1.356, allocations: 0 / 0.6591 GB, free: 109.9 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002558/1.357, allocations: 87.53 kB / 0.6592 GB, free: 109.9 MB / 475.1 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.0236/1.38, allocations: 4.505 MB / 0.6636 GB, free: 108.1 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.38, allocations: 9.219 kB / 0.6636 GB, free: 108.1 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02743/1.408, allocations: 3.601 MB / 0.6671 GB, free: 107.8 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01945/1.427, allocations: 4.823 MB / 0.6718 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/1.428, allocations: 155.1 kB / 0.6719 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/1.431, allocations: 275.8 kB / 0.6722 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/1.45, allocations: 8.055 MB / 0.6801 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/1.481, allocations: 10.58 MB / 0.6904 GB, free: 102.8 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002747/1.482, allocations: 26.97 kB / 0.6904 GB, free: 102.8 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002758/1.485, allocations: 13.03 kB / 0.6904 GB, free: 102.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/1.487, allocations: 1.243 MB / 0.6916 GB, free: 102.6 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0755/1.563, allocations: 35.82 MB / 0.7266 GB, free: 78.31 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006287/1.569, allocations: 3.812 MB / 0.7304 GB, free: 74.55 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004029/1.573, allocations: 2.08 MB / 0.7324 GB, free: 72.66 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.575, allocations: 1.324 MB / 0.7337 GB, free: 71.21 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.575, allocations: 56.56 kB / 0.7337 GB, free: 71.15 MB / 475.1 MB Notification: Performance of pre-optimization done (n=246): time 6.142e-06/1.575, allocations: 0 / 0.7337 GB, free: 71.15 MB / 475.1 MB Notification: Performance of matching and sorting (n=273): time 0.04097/1.616, allocations: 11.22 MB / 0.7447 GB, free: 61 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.616, allocations: 73.41 kB / 0.7448 GB, free: 60.92 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/1.621, allocations: 2.538 MB / 0.7472 GB, free: 58.37 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.622, allocations: 29.7 kB / 0.7473 GB, free: 58.33 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002452/1.624, allocations: 3.199 MB / 0.7504 GB, free: 55.09 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/1.626, allocations: 0.9944 MB / 0.7514 GB, free: 54.08 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006973/1.627, allocations: 0 / 0.7514 GB, free: 54.08 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004973/1.627, allocations: 0.5836 MB / 0.7519 GB, free: 53.48 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005563/1.633, allocations: 2.355 MB / 0.7542 GB, free: 51.12 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007864/1.641, allocations: 5.878 MB / 0.76 GB, free: 43.49 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008054/1.649, allocations: 3.756 MB / 0.7636 GB, free: 39.73 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/1.649, allocations: 36 kB / 0.7637 GB, free: 39.7 MB / 475.1 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02502/1.674, allocations: 8.323 MB / 0.7718 GB, free: 31.36 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/1.674, allocations: 56.94 kB / 0.7719 GB, free: 31.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/1.674, allocations: 127.9 kB / 0.772 GB, free: 31.18 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/1.681, allocations: 1.078 MB / 0.773 GB, free: 30.09 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009191/1.69, allocations: 1.482 MB / 0.7745 GB, free: 28.61 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/1.694, allocations: 2.421 MB / 0.7768 GB, free: 26.07 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/1.701, allocations: 211.8 kB / 0.777 GB, free: 25.87 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.702, allocations: 379.9 kB / 0.7774 GB, free: 25.5 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (796): * Single equations (assignments): 787 * 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.001917/1.704, allocations: 432.8 kB / 0.7778 GB, free: 25.06 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/1.705, allocations: 308 kB / 0.7781 GB, free: 24.76 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/1.722, allocations: 5.113 MB / 0.7831 GB, free: 19.58 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/1.723, allocations: 51.98 kB / 0.7832 GB, free: 19.53 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.723, allocations: 0 / 0.7832 GB, free: 19.53 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.154e-05/1.723, allocations: 7.969 kB / 0.7832 GB, free: 19.52 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/1.754, allocations: 10.84 MB / 0.7938 GB, free: 8.574 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/1.754, allocations: 11.95 kB / 0.7938 GB, free: 8.562 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004049/1.758, allocations: 447.3 kB / 0.7942 GB, free: 8.125 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006224/1.764, allocations: 0.904 MB / 0.7951 GB, free: 7.211 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000655/1.765, allocations: 43.95 kB / 0.7951 GB, free: 7.168 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/1.768, allocations: 2.2 MB / 0.7973 GB, free: 4.859 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.769, allocations: 15.94 kB / 0.7973 GB, free: 4.844 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/1.789, allocations: 8.312 MB / 0.8054 GB, free: 12.07 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.791, allocations: 345 kB / 0.8057 GB, free: 11.71 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.792, allocations: 27.95 kB / 0.8058 GB, free: 11.69 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.795, allocations: 103.8 kB / 0.8059 GB, free: 11.59 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/1.796, allocations: 169.6 kB / 0.806 GB, free: 11.42 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/1.797, allocations: 83.95 kB / 0.8061 GB, free: 11.34 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.004736/1.802, allocations: 1.664 MB / 0.8077 GB, free: 9.672 MB / 491.1 MB Notification: Performance of sort global known variables: time 8.92e-07/1.802, allocations: 0 / 0.8077 GB, free: 9.672 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.007644/1.809, allocations: 0.9258 MB / 0.8086 GB, free: 8.746 MB / 491.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (224): * Single equations (assignments): 215 * 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.00102/1.81, allocations: 163 kB / 0.8088 GB, free: 8.578 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.01773/1.828, allocations: 6.176 MB / 0.8148 GB, free: 2.371 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.828, allocations: 0 / 0.8148 GB, free: 2.371 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008542/1.837, allocations: 2.648 MB / 0.8174 GB, free: 15.68 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.84, allocations: 354.4 kB / 0.8177 GB, free: 15.34 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.873, allocations: 10.26 MB / 0.8278 GB, free: 5.004 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009701/1.883, allocations: 3.78 MB / 0.8314 GB, free: 1.191 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/1.885, allocations: 319.3 kB / 0.8318 GB, free: 0.8789 MB / 0.4952 GB Notification: Performance of SimCode: time 1.684e-06/1.885, allocations: 0 / 0.8318 GB, free: 0.8789 MB / 0.4952 GB Notification: Performance of Templates: time 0.5553/2.44, allocations: 120.3 MB / 0.9492 GB, free: 59.82 MB / 0.4952 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