Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 72.17 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1033, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01244/0.1157, allocations: 11.12 MB / 492.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.1238, allocations: 4.092 MB / 496.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1253, allocations: 67.81 kB / 496.7 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.1303, allocations: 2.803 MB / 499.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003957/0.1343, allocations: 1.75 MB / 0.4895 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1357, allocations: 0.698 MB / 0.4902 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004455/0.1402, allocations: 3.67 MB / 0.4938 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/0.1439, allocations: 3.804 MB / 0.4975 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.1458, allocations: 1.503 MB / 0.499 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.1482, allocations: 1.978 MB / 0.5009 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005526/0.1488, allocations: 332 kB / 0.5012 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1507, allocations: 1.17 MB / 0.5024 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.1521, allocations: 1.855 MB / 0.5042 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.191/0.3431, allocations: 2.15 MB / 0.5063 GB, free: 18.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008319/0.3515, allocations: 6.814 MB / 0.5129 GB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3515, allocations: 0 / 0.5129 GB, free: 18.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3515, allocations: 4.438 kB / 0.5129 GB, free: 18.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002218/0.3518, allocations: 0 / 0.5129 GB, free: 18.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.01009/0.3619, allocations: 4.558 MB / 0.5174 GB, free: 16.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3619, allocations: 8.438 kB / 0.5174 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006654/0.3686, allocations: 1.934 MB / 0.5193 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/0.3741, allocations: 2.152 MB / 0.5214 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.3743, allocations: 237.2 kB / 0.5216 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.3754, allocations: 415.4 kB / 0.522 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.3916, allocations: 9.749 MB / 0.5315 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.3918, allocations: 38.28 kB / 0.5316 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.3922, allocations: 152.1 kB / 0.5317 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.3942, allocations: 1.764 MB / 0.5334 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.4072, allocations: 8.078 MB / 0.5413 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.4501, allocations: 38.22 MB / 0.5787 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/0.4597, allocations: 3.707 MB / 0.5823 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.4619, allocations: 1.625 MB / 0.5839 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.4734, allocations: 7.918 MB / 0.5916 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.4735, allocations: 47.5 kB / 0.5916 GB, free: 2.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 4.749e-06/0.4735, allocations: 8 kB / 0.5916 GB, free: 2.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.02755/0.5011, allocations: 12.33 MB / 0.6037 GB, free: 6.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001282/0.5024, allocations: 1.701 MB / 0.6054 GB, free: 4.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/0.5079, allocations: 3.803 MB / 0.6091 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.5082, allocations: 45.7 kB / 0.6091 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.5103, allocations: 2.997 MB / 0.612 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009041/0.5112, allocations: 0.6123 MB / 0.6126 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.513, allocations: 1.165 MB / 0.6138 GB, free: 11.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5131, allocations: 305.1 kB / 0.6141 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.5162, allocations: 2.037 MB / 0.6161 GB, free: 9.578 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.5216, allocations: 5.652 MB / 0.6216 GB, free: 2.168 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/0.5309, allocations: 8.266 MB / 0.6296 GB, free: 8.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.598e-05/0.531, allocations: 43.94 kB / 0.6297 GB, free: 8.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01923/0.5502, allocations: 9.219 MB / 0.6387 GB, free: 15.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.5503, allocations: 60 kB / 0.6387 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01016/0.5605, allocations: 3.661 MB / 0.6423 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.5707, allocations: 2.312 MB / 0.6446 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/0.5751, allocations: 1.322 MB / 0.6459 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.5852, allocations: 7.498 MB / 0.6532 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/0.5903, allocations: 403.6 kB / 0.6536 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.5915, allocations: 356 kB / 0.6539 GB, free: 15.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (713): * Single equations (assignments): 704 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004198/0.5957, allocations: 2 MB / 0.6559 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009476/0.5966, allocations: 331.7 kB / 0.6562 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009007/0.5975, allocations: 440.2 kB / 0.6566 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00494/0.6025, allocations: 2.507 MB / 0.6591 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.6025, allocations: 4 kB / 0.6591 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.6025, allocations: 3.984 kB / 0.6591 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0162/0.6187, allocations: 8.452 MB / 0.6673 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.6188, allocations: 4.094 kB / 0.6673 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.6199, allocations: 243.7 kB / 0.6676 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.623, allocations: 1.037 MB / 0.6686 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.6231, allocations: 47.66 kB / 0.6686 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.6288, allocations: 5.337 MB / 0.6738 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001048/0.6298, allocations: 1.579 MB / 0.6754 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007782/0.6376, allocations: 5.207 MB / 0.6805 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.6387, allocations: 380.8 kB / 0.6808 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.639, allocations: 27.98 kB / 0.6808 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6404, allocations: 135.8 kB / 0.681 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.6406, allocations: 96.8 kB / 0.6811 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6408, allocations: 43.92 kB / 0.6811 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003328/0.6441, allocations: 2.356 MB / 0.6834 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6441, allocations: 0 / 0.6834 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004602/0.6487, allocations: 1.019 MB / 0.6844 GB, free: 15.8 MB / 0.5294 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004006/0.6491, allocations: 166.5 kB / 0.6846 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009152/0.6583, allocations: 5.551 MB / 0.69 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6583, allocations: 7.938 kB / 0.69 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/0.6623, allocations: 2.146 MB / 0.6921 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.6648, allocations: 446.6 kB / 0.6925 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.6805, allocations: 9.095 MB / 0.7014 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/0.6837, allocations: 3.121 MB / 0.7044 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003857/0.6876, allocations: 1.806 MB / 0.7062 GB, free: 9.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.6882, allocations: 223.4 kB / 0.7064 GB, free: 9.074 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.6882, allocations: 0 / 0.7064 GB, free: 9.074 MB / 0.545 GB Notification: Performance of Templates: time 0.2434/0.9316, allocations: 32.87 MB / 0.7385 GB, free: 187 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches