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.001104/0.001104, allocations: 99.58 kB / 17 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.001541/0.001541, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.18 MB / 344.8 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 63.56 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3256/0.4796, allocations: 41.46 MB / 0.5116 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.504, allocations: 9.287 MB / 0.5207 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.5158, allocations: 197.1 kB / 0.5208 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008056/0.5238, allocations: 2.143 MB / 0.5229 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02269/0.5466, allocations: 6.308 MB / 0.5291 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.5502, allocations: 0.5866 MB / 0.5297 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007622/0.5578, allocations: 4.278 MB / 0.5339 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007296/0.5652, allocations: 4.569 MB / 0.5383 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.568, allocations: 1.18 MB / 0.5395 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.5709, allocations: 1.789 MB / 0.5412 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006265/0.5715, allocations: 130.6 kB / 0.5413 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.5739, allocations: 0.8904 MB / 0.5422 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.5754, allocations: 1.598 MB / 0.5438 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00097/0.5764, allocations: 0.7989 MB / 0.5445 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005507/0.5819, allocations: 5.23 MB / 0.5497 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.582, allocations: 8 kB / 0.5497 GB, free: 14.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.582, allocations: 0 / 0.5497 GB, free: 14.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002513/0.5822, allocations: 0 / 0.5497 GB, free: 14.89 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.009312/0.5916, allocations: 3.773 MB / 0.5533 GB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5916, allocations: 12.03 kB / 0.5534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007253/0.5989, allocations: 1.979 MB / 0.5553 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0046/0.6035, allocations: 2.07 MB / 0.5573 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.6037, allocations: 242.5 kB / 0.5575 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.6049, allocations: 412.4 kB / 0.5579 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.6247, allocations: 9.735 MB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.6249, allocations: 43.58 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005282/0.6254, allocations: 152 kB / 0.5676 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/0.6281, allocations: 1.762 MB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.6452, allocations: 8.061 MB / 0.5772 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.6969, allocations: 38.38 MB / 0.6147 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.7064, allocations: 3.715 MB / 0.6183 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/0.7089, allocations: 1.619 MB / 0.6199 GB, free: 6.008 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.7204, allocations: 7.913 MB / 0.6276 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.7205, allocations: 55.48 kB / 0.6277 GB, free: 13.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 3.917e-06/0.7205, allocations: 0 / 0.6277 GB, free: 13.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.02971/0.7503, allocations: 12.37 MB / 0.6398 GB, free: 1.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001528/0.7518, allocations: 1.624 MB / 0.6414 GB, free: 15.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.7581, allocations: 3.776 MB / 0.645 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007138/0.7589, allocations: 41.7 kB / 0.6451 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002746/0.7616, allocations: 3.01 MB / 0.648 GB, free: 8.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/0.7625, allocations: 0.5931 MB / 0.6486 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.7629, allocations: 114.7 kB / 0.6487 GB, free: 7.773 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003631/0.7633, allocations: 0.5498 MB / 0.6492 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/0.7667, allocations: 2.026 MB / 0.6512 GB, free: 5.184 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006877/0.7736, allocations: 5.635 MB / 0.6567 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005837/0.7795, allocations: 3.291 MB / 0.6599 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.182e-05/0.7796, allocations: 40 kB / 0.66 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.02067/0.8003, allocations: 9.185 MB / 0.669 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.8004, allocations: 60 kB / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009855/0.8103, allocations: 3.659 MB / 0.6726 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009493/0.8198, allocations: 2.336 MB / 0.6749 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/0.8242, allocations: 1.322 MB / 0.6762 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.8344, allocations: 6.9 MB / 0.6829 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/0.8401, allocations: 409.9 kB / 0.6833 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/0.8413, allocations: 352 kB / 0.6836 GB, free: 1.879 MB / 0.5137 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 (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.004716/0.8461, allocations: 2.011 MB / 0.6856 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007157/0.8468, allocations: 323.8 kB / 0.6859 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.8477, allocations: 440.2 kB / 0.6863 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004958/0.8527, allocations: 2.508 MB / 0.6888 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.8527, allocations: 4 kB / 0.6888 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.8527, allocations: 3.984 kB / 0.6888 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.8681, allocations: 8.461 MB / 0.697 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.8682, allocations: 0 / 0.697 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.8694, allocations: 251.6 kB / 0.6973 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.8722, allocations: 1.037 MB / 0.6983 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.8724, allocations: 38.94 kB / 0.6983 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/0.8785, allocations: 5.015 MB / 0.7032 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001096/0.8796, allocations: 1.482 MB / 0.7047 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009051/0.8887, allocations: 5.209 MB / 0.7098 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8898, allocations: 392.7 kB / 0.7101 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.8902, allocations: 27.98 kB / 0.7102 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.8915, allocations: 146.4 kB / 0.7103 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.8918, allocations: 88.86 kB / 0.7104 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.8919, allocations: 43.98 kB / 0.7104 GB, free: 5.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003859/0.8958, allocations: 2.333 MB / 0.7127 GB, free: 3.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8958, allocations: 0 / 0.7127 GB, free: 3.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005405/0.9012, allocations: 1.02 MB / 0.7137 GB, free: 2.504 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.0005281/0.9017, allocations: 163.3 kB / 0.7138 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3227/1.224, allocations: 5.508 MB / 0.7192 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.224, allocations: 1.062 kB / 0.7192 GB, free: 159.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005046/1.23, allocations: 2.143 MB / 0.7213 GB, free: 158.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/1.234, allocations: 409.2 kB / 0.7217 GB, free: 158.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/1.256, allocations: 10.79 MB / 0.7323 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/1.26, allocations: 3.117 MB / 0.7353 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004214/1.264, allocations: 1.801 MB / 0.7371 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/1.265, allocations: 232 kB / 0.7373 GB, free: 153.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.81e-07/1.265, allocations: 0 / 0.7373 GB, free: 153.2 MB / 0.545 GB Notification: Performance of Templates: time 0.05877/1.324, allocations: 35.51 MB / 0.7719 GB, free: 128.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches