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.001815/0.001815, allocations: 103.5 kB / 17.98 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003271/0.003271, allocations: 209.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.9/2.9, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4994/0.4994, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002858, allocations: 76.56 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2113, allocations: 62.44 MB / 480.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.7459/0.9573, allocations: 45.81 MB / 0.5136 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05514/1.013, allocations: 9.722 MB / 0.5231 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02324/1.036, allocations: 197.2 kB / 0.5233 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.048, allocations: 2.705 MB / 0.526 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.059, allocations: 1.631 MB / 0.5275 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/1.064, allocations: 0.6541 MB / 0.5282 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01313/1.077, allocations: 3.702 MB / 0.5318 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/1.089, allocations: 4.015 MB / 0.5357 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/1.096, allocations: 1.526 MB / 0.5372 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00728/1.104, allocations: 2.199 MB / 0.5394 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002403/1.106, allocations: 331.4 kB / 0.5397 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/1.111, allocations: 1.192 MB / 0.5408 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004836/1.116, allocations: 1.878 MB / 0.5427 GB, free: 388 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008523/1.125, allocations: 2.18 MB / 0.5448 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/1.138, allocations: 5.407 MB / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/1.138, allocations: 0 / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.367e-06/1.138, allocations: 0 / 0.5501 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003542/1.138, allocations: 0 / 0.5501 GB, free: 10.27 MB / 398.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.02299/1.161, allocations: 4.561 MB / 0.5545 GB, free: 5.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.292e-05/1.161, allocations: 8.031 kB / 0.5545 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/1.176, allocations: 1.94 MB / 0.5564 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009969/1.186, allocations: 2.11 MB / 0.5585 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000585/1.187, allocations: 241.6 kB / 0.5587 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/1.19, allocations: 409.7 kB / 0.5591 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03847/1.229, allocations: 9.753 MB / 0.5686 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000438/1.23, allocations: 39.67 kB / 0.5687 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/1.232, allocations: 152.9 kB / 0.5688 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005036/1.237, allocations: 1.767 MB / 0.5706 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/1.267, allocations: 8.072 MB / 0.5784 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06997/1.338, allocations: 38.39 MB / 0.6159 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.348, allocations: 3.714 MB / 0.6195 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/1.351, allocations: 1.63 MB / 0.6211 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/1.366, allocations: 7.914 MB / 0.6289 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.28e-05/1.366, allocations: 47.56 kB / 0.6289 GB, free: 7.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 8.786e-06/1.366, allocations: 0 / 0.6289 GB, free: 7.527 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.05647/1.423, allocations: 12.34 MB / 0.641 GB, free: 11.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002382/1.425, allocations: 1.708 MB / 0.6426 GB, free: 9.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.436, allocations: 3.784 MB / 0.6463 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007375/1.437, allocations: 52.98 kB / 0.6464 GB, free: 5.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005047/1.442, allocations: 2.996 MB / 0.6493 GB, free: 2.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/1.444, allocations: 0.6039 MB / 0.6499 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003941/1.448, allocations: 1.168 MB / 0.651 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/1.448, allocations: 305.2 kB / 0.6513 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005796/1.454, allocations: 2.037 MB / 0.6533 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/1.47, allocations: 5.658 MB / 0.6588 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/1.49, allocations: 8.269 MB / 0.6669 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002987/1.491, allocations: 36 kB / 0.667 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.04943/1.54, allocations: 9.225 MB / 0.676 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004892/1.541, allocations: 60.22 kB / 0.676 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02461/1.565, allocations: 3.665 MB / 0.6796 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02574/1.591, allocations: 2.316 MB / 0.6819 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.599, allocations: 1.329 MB / 0.6832 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.62, allocations: 7.501 MB / 0.6905 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/1.63, allocations: 407.2 kB / 0.6909 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/1.632, allocations: 352 kB / 0.6912 GB, free: 3.43 MB / 0.5294 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.01053/1.643, allocations: 2 MB / 0.6932 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00365/1.647, allocations: 327.8 kB / 0.6935 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/1.65, allocations: 440.2 kB / 0.6939 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/1.66, allocations: 2.5 MB / 0.6963 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/1.66, allocations: 4 kB / 0.6963 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/1.66, allocations: 3.984 kB / 0.6963 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03758/1.698, allocations: 8.451 MB / 0.7046 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.177e-05/1.698, allocations: 3.984 kB / 0.7046 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/1.701, allocations: 247.6 kB / 0.7048 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006854/1.708, allocations: 1.037 MB / 0.7058 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006497/1.709, allocations: 35.97 kB / 0.7059 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6356/2.345, allocations: 5.335 MB / 0.7111 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001801/2.347, allocations: 1.574 MB / 0.7126 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02273/2.369, allocations: 5.208 MB / 0.7177 GB, free: 189.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.372, allocations: 382 kB / 0.7181 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002007/2.374, allocations: 31.89 kB / 0.7181 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/2.379, allocations: 140.7 kB / 0.7182 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008526/2.379, allocations: 93.09 kB / 0.7183 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002743/2.38, allocations: 46.44 kB / 0.7184 GB, free: 189.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0103/2.39, allocations: 2.352 MB / 0.7207 GB, free: 188.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.547e-06/2.39, allocations: 0 / 0.7207 GB, free: 188.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01396/2.404, allocations: 1.023 MB / 0.7217 GB, free: 188.4 MB / 0.545 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.002009/2.406, allocations: 162.6 kB / 0.7218 GB, free: 188.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02444/2.431, allocations: 6.139 MB / 0.7278 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.431, allocations: 0 / 0.7278 GB, free: 186.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008208/2.439, allocations: 2.156 MB / 0.7299 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00964/2.449, allocations: 437.5 kB / 0.7303 GB, free: 185.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/2.49, allocations: 11.5 MB / 0.7416 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/2.502, allocations: 3.114 MB / 0.7446 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/2.504, allocations: 274.4 kB / 0.7449 GB, free: 177.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.458e-05/2.504, allocations: 0 / 0.7449 GB, free: 177.7 MB / 0.545 GB Notification: Performance of Templates: time 0.2651/2.769, allocations: 126.6 MB / 0.8685 GB, free: 55.8 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 -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