Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002777/0.002778, allocations: 181 kB / 17.41 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.238/3.238, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008498/0.0008501, allocations: 101 kB / 271.9 MB, free: 8.238 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.3782/0.3782, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 58.86 MB / 491.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.5413, allocations: 109.3 MB / 0.5866 GB, free: 9.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.5415, allocations: 79.97 kB / 0.5867 GB, free: 9.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4447/0.9862, allocations: 97.9 MB / 0.6823 GB, free: 91.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.9863, allocations: 0 / 0.6823 GB, free: 91.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.9864, allocations: 92.86 kB / 0.6824 GB, free: 91.58 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01592/1.002, allocations: 4.729 MB / 0.687 GB, free: 89.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.002, allocations: 9.438 kB / 0.687 GB, free: 89.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/1.017, allocations: 3.598 MB / 0.6905 GB, free: 89.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009531/1.026, allocations: 3.856 MB / 0.6943 GB, free: 88.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/1.027, allocations: 379 kB / 0.6947 GB, free: 88.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/1.03, allocations: 0.4946 MB / 0.6951 GB, free: 88.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/1.056, allocations: 12.26 MB / 0.7071 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002934/1.057, allocations: 31.88 kB / 0.7072 GB, free: 87.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/1.058, allocations: 228 kB / 0.7074 GB, free: 87.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001831/1.06, allocations: 1.339 MB / 0.7087 GB, free: 87.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/1.085, allocations: 11.51 MB / 0.7199 GB, free: 87.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05752/1.142, allocations: 42.25 MB / 0.7612 GB, free: 61.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009119/1.152, allocations: 5.084 MB / 0.7662 GB, free: 59.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/1.155, allocations: 2.406 MB / 0.7685 GB, free: 58.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009832/1.164, allocations: 6.878 MB / 0.7752 GB, free: 54.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.164, allocations: 50.97 kB / 0.7753 GB, free: 54.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 5.991e-06/1.165, allocations: 0 / 0.7753 GB, free: 54.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03589/1.2, allocations: 16.48 MB / 0.7914 GB, free: 47.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.201, allocations: 78.53 kB / 0.7914 GB, free: 47.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005991/1.207, allocations: 3.209 MB / 0.7946 GB, free: 44.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000394/1.207, allocations: 57.7 kB / 0.7946 GB, free: 44.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/1.209, allocations: 3.293 MB / 0.7978 GB, free: 41.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.21, allocations: 0.9211 MB / 0.7987 GB, free: 40.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005842/1.21, allocations: 118.7 kB / 0.7988 GB, free: 40.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000519/1.211, allocations: 0.5663 MB / 0.7994 GB, free: 40.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.215, allocations: 2.399 MB / 0.8017 GB, free: 38.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005143/1.22, allocations: 5.806 MB / 0.8074 GB, free: 31.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008937/1.229, allocations: 8.935 MB / 0.8161 GB, free: 21.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.229, allocations: 32 kB / 0.8162 GB, free: 21.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01592/1.245, allocations: 8.961 MB / 0.8249 GB, free: 13.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.245, allocations: 60 kB / 0.825 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/1.245, allocations: 120 kB / 0.8251 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/1.248, allocations: 1.125 MB / 0.8262 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/1.253, allocations: 1.396 MB / 0.8276 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/1.258, allocations: 4.587 MB / 0.832 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/1.262, allocations: 330.8 kB / 0.8324 GB, free: 6.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.263, allocations: 362.2 kB / 0.8327 GB, free: 6.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (751): * Single equations (assignments): 743 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.005268/1.268, allocations: 2.419 MB / 0.8351 GB, free: 4.488 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/1.269, allocations: 311.7 kB / 0.8354 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/1.277, allocations: 4.49 MB / 0.8397 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/1.277, allocations: 47.42 kB / 0.8398 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.277, allocations: 4 kB / 0.8398 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.277, allocations: 10.08 kB / 0.8398 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.3, allocations: 10.63 MB / 0.8502 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.3, allocations: 7.188 kB / 0.8502 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.302, allocations: 399.4 kB / 0.8506 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.304, allocations: 0.674 MB / 0.8512 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003682/1.305, allocations: 52.53 kB / 0.8513 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/1.307, allocations: 2.432 MB / 0.8537 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.307, allocations: 4 kB / 0.8537 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.319, allocations: 6.849 MB / 0.8603 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.32, allocations: 357 kB / 0.8607 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008458/1.32, allocations: 48.61 kB / 0.8607 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.322, allocations: 140.6 kB / 0.8609 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/1.322, allocations: 135.2 kB / 0.861 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.323, allocations: 67.98 kB / 0.8611 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004111/1.327, allocations: 1.948 MB / 0.863 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/1.327, allocations: 0 / 0.863 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005865/1.333, allocations: 1.085 MB / 0.864 GB, free: 7.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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,body.w_a[1],body.w_a[2],body.w_a[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 (197): * Single equations (assignments): 188 * 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.000823/1.334, allocations: 196.7 kB / 0.8642 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.345, allocations: 5.869 MB / 0.8699 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.345, allocations: 0 / 0.8699 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2201/1.565, allocations: 2.435 MB / 0.8723 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/1.57, allocations: 448.3 kB / 0.8727 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.593, allocations: 14.18 MB / 0.8866 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/1.598, allocations: 3.765 MB / 0.8903 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.599, allocations: 293.9 kB / 0.8906 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/1.599, allocations: 0 / 0.8906 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1569/1.756, allocations: 118 MB / 1.006 GB, free: 52.64 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches