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.001038/0.001038, allocations: 92.72 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 198.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 45.9 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 4 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 63.47 MB / 481.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3458/0.4949, allocations: 42.59 MB / 0.5117 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03139/0.5263, allocations: 10.44 MB / 0.5219 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01447/0.5409, allocations: 207.6 kB / 0.5221 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009743/0.5506, allocations: 2.109 MB / 0.5241 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0267/0.5774, allocations: 6.138 MB / 0.5301 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.5814, allocations: 0.5783 MB / 0.5307 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006474/0.5879, allocations: 2.104 MB / 0.5328 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.5993, allocations: 4.562 MB / 0.5372 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.6027, allocations: 0.9828 MB / 0.5382 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.6059, allocations: 1.24 MB / 0.5394 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007625/0.6067, allocations: 136 kB / 0.5395 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.609, allocations: 0.8713 MB / 0.5404 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.6104, allocations: 1.526 MB / 0.5419 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.6117, allocations: 0.818 MB / 0.5427 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006604/0.6183, allocations: 5.355 MB / 0.5479 GB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6184, allocations: 0 / 0.5479 GB, free: 1.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.6184, allocations: 0 / 0.5479 GB, free: 1.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002269/0.6186, allocations: 0 / 0.5479 GB, free: 1.355 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01045/0.6291, allocations: 3.876 MB / 0.5517 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6291, allocations: 8.031 kB / 0.5517 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008834/0.638, allocations: 2.318 MB / 0.5539 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006252/0.6443, allocations: 2.227 MB / 0.5561 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.6445, allocations: 246.7 kB / 0.5564 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.6459, allocations: 419.3 kB / 0.5568 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02046/0.6664, allocations: 10.02 MB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.6666, allocations: 39.69 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004987/0.6671, allocations: 156.5 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.67, allocations: 1.825 MB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.6903, allocations: 8.335 MB / 0.5766 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07326/0.7636, allocations: 38.89 MB / 0.6146 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009869/0.7735, allocations: 3.728 MB / 0.6183 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.7869, allocations: 8.001 MB / 0.6261 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.787, allocations: 57.61 kB / 0.6261 GB, free: 15.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 3.927e-06/0.787, allocations: 0 / 0.6261 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03733/0.8243, allocations: 12.71 MB / 0.6385 GB, free: 3.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001672/0.8261, allocations: 1.636 MB / 0.6401 GB, free: 1.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/0.8334, allocations: 3.946 MB / 0.644 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005398/0.834, allocations: 44.59 kB / 0.644 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002504/0.8365, allocations: 3.051 MB / 0.647 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009057/0.8374, allocations: 0.5954 MB / 0.6476 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.8377, allocations: 122.6 kB / 0.6477 GB, free: 9.484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.8381, allocations: 0.5497 MB / 0.6483 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.8412, allocations: 2.049 MB / 0.6503 GB, free: 6.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/0.8472, allocations: 5.664 MB / 0.6558 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005278/0.8525, allocations: 3.323 MB / 0.659 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.467e-05/0.8526, allocations: 36 kB / 0.6591 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02263/0.8753, allocations: 9.255 MB / 0.6681 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.8755, allocations: 60 kB / 0.6682 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01194/0.8874, allocations: 3.707 MB / 0.6718 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.8983, allocations: 2.324 MB / 0.6741 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/0.9038, allocations: 1.337 MB / 0.6754 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.9147, allocations: 7.292 MB / 0.6825 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/0.9199, allocations: 399.3 kB / 0.6829 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.9211, allocations: 368.5 kB / 0.6832 GB, free: 2.973 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.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 (712): * Single equations (assignments): 703 * 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.004756/0.9259, allocations: 2.027 MB / 0.6852 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009393/0.9269, allocations: 327.7 kB / 0.6855 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.9282, allocations: 444.6 kB / 0.6859 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005127/0.9334, allocations: 2.504 MB / 0.6884 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.9334, allocations: 7.938 kB / 0.6884 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.9334, allocations: 11.97 kB / 0.6884 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.9524, allocations: 8.564 MB / 0.6968 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.9525, allocations: 4 kB / 0.6968 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9537, allocations: 251.7 kB / 0.697 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/0.9568, allocations: 1.037 MB / 0.698 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.957, allocations: 35.98 kB / 0.698 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00581/0.9628, allocations: 5.115 MB / 0.703 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001159/0.964, allocations: 1.498 MB / 0.7045 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008886/0.9729, allocations: 5.367 MB / 0.7097 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.9743, allocations: 404.6 kB / 0.7101 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007975/0.9751, allocations: 27.98 kB / 0.7102 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.977, allocations: 142.1 kB / 0.7103 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/0.9773, allocations: 92.8 kB / 0.7104 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.9775, allocations: 43.98 kB / 0.7104 GB, free: 6.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005008/0.9825, allocations: 2.463 MB / 0.7128 GB, free: 4.043 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9825, allocations: 0 / 0.7128 GB, free: 4.043 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005878/0.9884, allocations: 1.049 MB / 0.7139 GB, free: 2.996 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 (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 Backend phase and start with SimCode phase: time 0.0006407/0.9891, allocations: 181.4 kB / 0.714 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3133/1.302, allocations: 5.51 MB / 0.7194 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.302, allocations: 0.7812 kB / 0.7194 GB, free: 162.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/1.307, allocations: 2.143 MB / 0.7215 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/1.31, allocations: 402.1 kB / 0.7219 GB, free: 161.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/1.334, allocations: 10.9 MB / 0.7325 GB, free: 157.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005302/1.339, allocations: 3.248 MB / 0.7357 GB, free: 156.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004777/1.344, allocations: 1.805 MB / 0.7375 GB, free: 156.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.345, allocations: 227.5 kB / 0.7377 GB, free: 156.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.255e-06/1.345, allocations: 0 / 0.7377 GB, free: 156.4 MB / 0.545 GB Notification: Performance of Templates: time 0.05966/1.404, allocations: 36.48 MB / 0.7733 GB, free: 128.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches