Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001508, allocations: 181 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.027/2.027, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001113/0.001113, allocations: 78.7 kB / 267.5 MB, free: 14.05 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.2814/0.2814, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.378e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.521/0.6453, allocations: 107.4 MB / 0.5777 GB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6456, allocations: 82.14 kB / 0.5778 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3565/1.002, allocations: 84.44 MB / 0.6602 GB, free: 15.86 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.002, allocations: 0 / 0.6602 GB, free: 15.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002687/1.002, allocations: 88 kB / 0.6603 GB, free: 15.78 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.02325/1.026, allocations: 4.35 MB / 0.6646 GB, free: 11.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.026, allocations: 12.03 kB / 0.6646 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01843/1.044, allocations: 2.275 MB / 0.6668 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/1.064, allocations: 4.804 MB / 0.6715 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004908/1.065, allocations: 353 kB / 0.6718 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/1.067, allocations: 451.8 kB / 0.6722 GB, free: 3.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/1.1, allocations: 10.8 MB / 0.6828 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002488/1.1, allocations: 55.5 kB / 0.6828 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001653/1.102, allocations: 215.9 kB / 0.6831 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002569/1.105, allocations: 1.053 MB / 0.6841 GB, free: 6.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/1.134, allocations: 8.585 MB / 0.6925 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4257/1.559, allocations: 50.01 MB / 0.7413 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/1.576, allocations: 3.785 MB / 0.745 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/1.58, allocations: 1.739 MB / 0.7467 GB, free: 83.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01906/1.599, allocations: 8.34 MB / 0.7548 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.599, allocations: 49.16 kB / 0.7549 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 6.282e-06/1.599, allocations: 0 / 0.7549 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.04232/1.642, allocations: 10.98 MB / 0.7656 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001362/1.643, allocations: 1.621 MB / 0.7672 GB, free: 76.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/1.651, allocations: 3.521 MB / 0.7706 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004603/1.652, allocations: 48.94 kB / 0.7707 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002514/1.654, allocations: 3.142 MB / 0.7738 GB, free: 74.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.655, allocations: 0.6421 MB / 0.7744 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/1.656, allocations: 120.3 kB / 0.7745 GB, free: 73.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003817/1.656, allocations: 0.5733 MB / 0.7751 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005129/1.662, allocations: 2.111 MB / 0.7771 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007813/1.669, allocations: 5.847 MB / 0.7828 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/1.677, allocations: 3.482 MB / 0.7862 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.677, allocations: 37.38 kB / 0.7863 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03257/1.71, allocations: 9.083 MB / 0.7951 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/1.71, allocations: 58.81 kB / 0.7952 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01779/1.728, allocations: 3.557 MB / 0.7987 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/1.745, allocations: 1.939 MB / 0.8006 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008471/1.753, allocations: 1.402 MB / 0.8019 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/1.765, allocations: 5.756 MB / 0.8075 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/1.773, allocations: 420.4 kB / 0.8079 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.775, allocations: 378 kB / 0.8083 GB, free: 59.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (752): * Single equations (assignments): 743 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.002329/1.777, allocations: 0.5709 MB / 0.8089 GB, free: 59.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009535/1.778, allocations: 338 kB / 0.8092 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.789, allocations: 3.151 MB / 0.8123 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009203/1.798, allocations: 2.654 MB / 0.8149 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/1.798, allocations: 7.469 kB / 0.8149 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-05/1.798, allocations: 10.73 kB / 0.8149 GB, free: 57.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/1.826, allocations: 9.139 MB / 0.8238 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/1.826, allocations: 0 / 0.8238 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/1.829, allocations: 272 kB / 0.8241 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005281/1.834, allocations: 1.022 MB / 0.8251 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/1.835, allocations: 39.41 kB / 0.8251 GB, free: 51.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008177/1.843, allocations: 5.008 MB / 0.83 GB, free: 47.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001141/1.844, allocations: 1.481 MB / 0.8314 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.859, allocations: 5.657 MB / 0.837 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.86, allocations: 413 kB / 0.8373 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.861, allocations: 27.42 kB / 0.8374 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.865, allocations: 150.7 kB / 0.8375 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006134/1.866, allocations: 102 kB / 0.8376 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/1.866, allocations: 43.38 kB / 0.8377 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006073/1.872, allocations: 2.435 MB / 0.84 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.002e-06/1.872, allocations: 0 / 0.84 GB, free: 37.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00731/1.879, allocations: 1.091 MB / 0.8411 GB, free: 36.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * 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.0008111/1.88, allocations: 178.1 kB / 0.8413 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.895, allocations: 5.722 MB / 0.8469 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.895, allocations: 0 / 0.8469 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/1.902, allocations: 2.241 MB / 0.849 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.906, allocations: 397.8 kB / 0.8494 GB, free: 29.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/1.93, allocations: 8.646 MB / 0.8579 GB, free: 21.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006854/1.936, allocations: 3.384 MB / 0.8612 GB, free: 18.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.938, allocations: 286.1 kB / 0.8614 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/1.938, allocations: 0 / 0.8614 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.5856/2.524, allocations: 128 MB / 0.9865 GB, free: 87.36 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches