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.001399/0.001399, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 78.78 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1216, allocations: 62.44 MB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01125/0.1328, allocations: 11.12 MB / 492.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008398/0.1413, allocations: 4.092 MB / 496.7 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.1437, allocations: 71.81 kB / 496.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00521/0.1489, allocations: 2.799 MB / 499.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.1545, allocations: 1.751 MB / 0.4895 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1563, allocations: 0.698 MB / 0.4902 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006534/0.1628, allocations: 3.669 MB / 0.4938 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005028/0.1679, allocations: 3.808 MB / 0.4975 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.1701, allocations: 1.507 MB / 0.499 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1725, allocations: 1.978 MB / 0.5009 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006484/0.1731, allocations: 332 kB / 0.5012 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.1753, allocations: 1.178 MB / 0.5024 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.1769, allocations: 1.847 MB / 0.5042 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2683/0.4453, allocations: 2.148 MB / 0.5063 GB, free: 18.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.4569, allocations: 6.816 MB / 0.5129 GB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.457, allocations: 1.672 kB / 0.5129 GB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.457, allocations: 0 / 0.5129 GB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002993/0.4573, allocations: 0 / 0.5129 GB, free: 18 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.01249/0.4698, allocations: 4.554 MB / 0.5174 GB, free: 16.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4699, allocations: 8.969 kB / 0.5174 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007697/0.4776, allocations: 1.938 MB / 0.5193 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/0.4842, allocations: 2.154 MB / 0.5214 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.4845, allocations: 238.5 kB / 0.5216 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.4859, allocations: 413.2 kB / 0.522 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.5061, allocations: 9.743 MB / 0.5315 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.5062, allocations: 39.22 kB / 0.5316 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004373/0.5067, allocations: 149.5 kB / 0.5317 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.509, allocations: 1.769 MB / 0.5334 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.5246, allocations: 8.08 MB / 0.5413 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04792/0.5725, allocations: 38.21 MB / 0.5786 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009409/0.582, allocations: 3.702 MB / 0.5823 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.5846, allocations: 1.636 MB / 0.5839 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01325/0.5979, allocations: 7.909 MB / 0.5916 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.598, allocations: 59.3 kB / 0.5916 GB, free: 2.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=141): time 4.809e-06/0.598, allocations: 0 / 0.5916 GB, free: 2.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.02875/0.6267, allocations: 12.32 MB / 0.6037 GB, free: 6.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001408/0.6282, allocations: 1.709 MB / 0.6053 GB, free: 4.555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/0.634, allocations: 3.796 MB / 0.6091 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004327/0.6345, allocations: 49.73 kB / 0.6091 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.6368, allocations: 2.999 MB / 0.612 GB, free: 13.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009538/0.6378, allocations: 0.6064 MB / 0.6126 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001753/0.6396, allocations: 1.172 MB / 0.6138 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6397, allocations: 302.1 kB / 0.6141 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/0.6426, allocations: 2.037 MB / 0.616 GB, free: 9.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005749/0.6484, allocations: 5.658 MB / 0.6216 GB, free: 2.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.6592, allocations: 8.26 MB / 0.6296 GB, free: 8.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.905e-05/0.6593, allocations: 39.94 kB / 0.6297 GB, free: 8.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02174/0.6811, allocations: 9.223 MB / 0.6387 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.6812, allocations: 60 kB / 0.6387 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01358/0.6948, allocations: 3.659 MB / 0.6423 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0133/0.7082, allocations: 2.32 MB / 0.6446 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.7127, allocations: 1.318 MB / 0.6459 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.7272, allocations: 7.493 MB / 0.6532 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007137/0.7343, allocations: 407.4 kB / 0.6536 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/0.7357, allocations: 362.4 kB / 0.6539 GB, free: 15.63 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.003991/0.7397, allocations: 1.994 MB / 0.6559 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006235/0.7403, allocations: 331.7 kB / 0.6562 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.7411, allocations: 440.2 kB / 0.6566 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004519/0.7456, allocations: 2.506 MB / 0.659 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.7457, allocations: 4 kB / 0.659 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.7457, allocations: 3.984 kB / 0.6591 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.7603, allocations: 8.457 MB / 0.6673 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7603, allocations: 3.984 kB / 0.6673 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.7615, allocations: 247.7 kB / 0.6676 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.7644, allocations: 1.033 MB / 0.6686 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.7646, allocations: 39.98 kB / 0.6686 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005854/0.7704, allocations: 5.331 MB / 0.6738 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001125/0.7716, allocations: 1.584 MB / 0.6754 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008598/0.7802, allocations: 5.213 MB / 0.6804 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.7815, allocations: 384.8 kB / 0.6808 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.7819, allocations: 28 kB / 0.6808 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.7833, allocations: 135.8 kB / 0.681 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.7836, allocations: 92.8 kB / 0.6811 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7837, allocations: 51.91 kB / 0.6811 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00385/0.7876, allocations: 2.348 MB / 0.6834 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7876, allocations: 0 / 0.6834 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004951/0.7925, allocations: 1.02 MB / 0.6844 GB, free: 15.82 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.0004847/0.793, allocations: 165.7 kB / 0.6846 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.8031, allocations: 5.55 MB / 0.69 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.8031, allocations: 3.938 kB / 0.69 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004/0.8071, allocations: 2.154 MB / 0.6921 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.8098, allocations: 438.7 kB / 0.6925 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.8252, allocations: 9.096 MB / 0.7014 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/0.8289, allocations: 3.117 MB / 0.7044 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004082/0.833, allocations: 1.806 MB / 0.7062 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/0.8337, allocations: 219.4 kB / 0.7064 GB, free: 9.102 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.8337, allocations: 0 / 0.7064 GB, free: 9.102 MB / 0.545 GB Notification: Performance of Templates: time 0.2649/1.099, allocations: 32.88 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 cvode -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