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.001624/0.001624, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.609/2.609, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4516/0.4516, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 69.36 kB / 417.5 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1862, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.445/0.6313, allocations: 45.81 MB / 0.5134 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.6618, allocations: 9.837 MB / 0.523 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.675, allocations: 197.9 kB / 0.5232 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007266/0.6823, allocations: 2.785 MB / 0.5259 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007936/0.6903, allocations: 1.64 MB / 0.5275 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.6938, allocations: 0.6469 MB / 0.5282 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.7057, allocations: 5.389 MB / 0.5334 GB, free: 5.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008246/0.714, allocations: 3.774 MB / 0.5371 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.7189, allocations: 1.327 MB / 0.5384 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.7245, allocations: 2.113 MB / 0.5405 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.7263, allocations: 243.9 kB / 0.5407 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/0.731, allocations: 1.146 MB / 0.5418 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003865/0.7349, allocations: 1.78 MB / 0.5436 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006212/0.7412, allocations: 2.069 MB / 0.5456 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.7521, allocations: 5.359 MB / 0.5508 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.7521, allocations: 0 / 0.5508 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.7521, allocations: 0 / 0.5508 GB, free: 9.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002721/0.7524, allocations: 0 / 0.5508 GB, free: 9.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.01686/0.7693, allocations: 4.559 MB / 0.5553 GB, free: 4.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.772e-05/0.7694, allocations: 8.875 kB / 0.5553 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/0.7832, allocations: 1.936 MB / 0.5572 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008325/0.7916, allocations: 2.12 MB / 0.5592 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.792, allocations: 248 kB / 0.5595 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/0.7944, allocations: 402.3 kB / 0.5599 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03426/0.8287, allocations: 9.75 MB / 0.5694 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002464/0.829, allocations: 35.69 kB / 0.5694 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/0.8303, allocations: 154.4 kB / 0.5696 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004638/0.8349, allocations: 1.769 MB / 0.5713 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/0.8653, allocations: 8.086 MB / 0.5792 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0763/0.9416, allocations: 38.39 MB / 0.6167 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/0.9601, allocations: 3.717 MB / 0.6203 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004796/0.965, allocations: 1.631 MB / 0.6219 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02357/0.9887, allocations: 7.909 MB / 0.6296 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.087e-05/0.9888, allocations: 43.56 kB / 0.6297 GB, free: 6.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 9.918e-06/0.9889, allocations: 4 kB / 0.6297 GB, free: 6.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.06283/1.052, allocations: 12.33 MB / 0.6417 GB, free: 10.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002585/1.054, allocations: 1.617 MB / 0.6433 GB, free: 8.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/1.067, allocations: 3.792 MB / 0.647 GB, free: 4.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000623/1.067, allocations: 45.7 kB / 0.647 GB, free: 4.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004882/1.072, allocations: 2.998 MB / 0.65 GB, free: 1.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/1.074, allocations: 0.6077 MB / 0.6506 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005309/1.079, allocations: 1.172 MB / 0.6517 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.08, allocations: 301.1 kB / 0.652 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006386/1.086, allocations: 2.041 MB / 0.654 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.098, allocations: 5.65 MB / 0.6595 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01853/1.117, allocations: 8.263 MB / 0.6676 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002269/1.117, allocations: 36 kB / 0.6676 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=751) (initialization): time 0.04337/1.16, allocations: 9.229 MB / 0.6766 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003319/1.161, allocations: 61 kB / 0.6767 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02058/1.181, allocations: 3.662 MB / 0.6802 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01954/1.201, allocations: 2.317 MB / 0.6825 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008566/1.209, allocations: 1.322 MB / 0.6838 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.229, allocations: 6.897 MB / 0.6905 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008921/1.238, allocations: 407.4 kB / 0.6909 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001772/1.24, allocations: 356 kB / 0.6913 GB, free: 3.152 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.007805/1.248, allocations: 2 MB / 0.6932 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.25, allocations: 335.7 kB / 0.6935 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/1.252, allocations: 432.2 kB / 0.694 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01055/1.262, allocations: 2.504 MB / 0.6964 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/1.262, allocations: 8 kB / 0.6964 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/1.262, allocations: 3.984 kB / 0.6964 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/1.294, allocations: 8.451 MB / 0.7047 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.294, allocations: 4 kB / 0.7047 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00228/1.296, allocations: 247.6 kB / 0.7049 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/1.302, allocations: 1.037 MB / 0.7059 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004023/1.302, allocations: 39.97 kB / 0.706 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4383/1.741, allocations: 5.003 MB / 0.7108 GB, free: 192.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001879/1.743, allocations: 1.485 MB / 0.7123 GB, free: 190.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.761, allocations: 5.208 MB / 0.7174 GB, free: 189.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.762, allocations: 381.8 kB / 0.7177 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.764, allocations: 32.7 kB / 0.7178 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/1.767, allocations: 139.1 kB / 0.7179 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/1.767, allocations: 84.83 kB / 0.718 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.767, allocations: 44.25 kB / 0.718 GB, free: 189.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008503/1.776, allocations: 2.356 MB / 0.7203 GB, free: 189 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.283e-06/1.776, allocations: 0 / 0.7203 GB, free: 189 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01177/1.788, allocations: 1.017 MB / 0.7213 GB, free: 188.9 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.001074/1.789, allocations: 161.7 kB / 0.7215 GB, free: 188.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02036/1.809, allocations: 5.551 MB / 0.7269 GB, free: 186.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.809, allocations: 1.375 kB / 0.7269 GB, free: 186.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008461/1.818, allocations: 2.153 MB / 0.729 GB, free: 185.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/1.824, allocations: 416.1 kB / 0.7294 GB, free: 185.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/1.859, allocations: 11.49 MB / 0.7406 GB, free: 179.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008693/1.868, allocations: 3.127 MB / 0.7437 GB, free: 178.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.87, allocations: 267.7 kB / 0.7439 GB, free: 178.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.144e-06/1.87, allocations: 0 / 0.7439 GB, free: 178.3 MB / 0.545 GB Notification: Performance of Templates: time 0.2411/2.111, allocations: 126.6 MB / 0.8676 GB, free: 56.47 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