Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 114.2 kB / 17.98 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 197.3 kB / 18.91 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.18 MB / 336.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001357, allocations: 62.78 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 60.83 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2835/0.4048, allocations: 49.7 MB / 0.5069 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.4285, allocations: 10.48 MB / 0.5171 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.4401, allocations: 210.4 kB / 0.5173 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.4459, allocations: 2.717 MB / 0.52 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.4515, allocations: 1.68 MB / 0.5216 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.4534, allocations: 0.651 MB / 0.5223 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.4592, allocations: 3.728 MB / 0.5259 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.4652, allocations: 4.019 MB / 0.5298 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.4681, allocations: 1.556 MB / 0.5314 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.4712, allocations: 2.227 MB / 0.5335 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.4724, allocations: 335.5 kB / 0.5338 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.4753, allocations: 1.212 MB / 0.535 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.4773, allocations: 1.934 MB / 0.5369 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.4793, allocations: 2.216 MB / 0.5391 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00595/0.4853, allocations: 5.543 MB / 0.5445 GB, free: 12.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4853, allocations: 0 / 0.5445 GB, free: 12.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4853, allocations: 0 / 0.5445 GB, free: 12.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.4855, allocations: 4 kB / 0.5445 GB, free: 12.42 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: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.009041/0.4946, allocations: 4.641 MB / 0.549 GB, free: 7.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4946, allocations: 8.031 kB / 0.549 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.5012, allocations: 1.901 MB / 0.5509 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/0.506, allocations: 2.171 MB / 0.553 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.5062, allocations: 241.2 kB / 0.5532 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.5074, allocations: 416.4 kB / 0.5536 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.5257, allocations: 9.904 MB / 0.5633 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.5258, allocations: 39.59 kB / 0.5634 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/0.5263, allocations: 157.9 kB / 0.5635 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002554/0.5288, allocations: 1.824 MB / 0.5653 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.5451, allocations: 8.205 MB / 0.5733 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04853/0.5937, allocations: 38.81 MB / 0.6112 GB, free: 6.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009383/0.6031, allocations: 3.673 MB / 0.6148 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.6054, allocations: 1.623 MB / 0.6164 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.6171, allocations: 7.846 MB / 0.624 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6172, allocations: 47.56 kB / 0.6241 GB, free: 8.926 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 5.701e-06/0.6172, allocations: 0 / 0.6241 GB, free: 8.926 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03079/0.648, allocations: 12.33 MB / 0.6361 GB, free: 12.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001352/0.6494, allocations: 1.707 MB / 0.6378 GB, free: 10.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006469/0.6559, allocations: 3.833 MB / 0.6415 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.6562, allocations: 48.36 kB / 0.6416 GB, free: 6.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.6585, allocations: 3.04 MB / 0.6445 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007501/0.6593, allocations: 0.6065 MB / 0.6451 GB, free: 3.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/0.6614, allocations: 1.172 MB / 0.6463 GB, free: 1.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.6615, allocations: 301.1 kB / 0.6466 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.6646, allocations: 2.037 MB / 0.6486 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005622/0.6703, allocations: 5.668 MB / 0.6541 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009428/0.6797, allocations: 8.287 MB / 0.6622 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001903/0.6799, allocations: 36 kB / 0.6622 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02167/0.7016, allocations: 9.16 MB / 0.6712 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.7018, allocations: 63.94 kB / 0.6712 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01091/0.7128, allocations: 3.569 MB / 0.6747 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.7234, allocations: 2.227 MB / 0.6769 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.728, allocations: 1.322 MB / 0.6782 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.7388, allocations: 7.477 MB / 0.6855 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005597/0.7445, allocations: 395.3 kB / 0.6859 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/0.7458, allocations: 370.9 kB / 0.6862 GB, free: 4.984 MB / 0.5294 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 (716): * Single equations (assignments): 707 * 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.005113/0.7509, allocations: 2.029 MB / 0.6882 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.752, allocations: 327.7 kB / 0.6885 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006769/0.7587, allocations: 2.936 MB / 0.6914 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004796/0.7636, allocations: 2.484 MB / 0.6938 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.7636, allocations: 4 kB / 0.6938 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/0.7636, allocations: 11.98 kB / 0.6938 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.7829, allocations: 8.546 MB / 0.7022 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.783, allocations: 7.938 kB / 0.7022 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.7843, allocations: 243.6 kB / 0.7024 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.7875, allocations: 1.037 MB / 0.7034 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/0.7878, allocations: 31.98 kB / 0.7034 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.247/1.035, allocations: 5.319 MB / 0.7086 GB, free: 199.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009264/1.036, allocations: 1.575 MB / 0.7102 GB, free: 198.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009369/1.045, allocations: 5.192 MB / 0.7152 GB, free: 197.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.046, allocations: 383.9 kB / 0.7156 GB, free: 197.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009211/1.047, allocations: 28.42 kB / 0.7156 GB, free: 197.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.049, allocations: 134.8 kB / 0.7158 GB, free: 197 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/1.049, allocations: 97.56 kB / 0.7159 GB, free: 197 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.05, allocations: 42.55 kB / 0.7159 GB, free: 197 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004695/1.054, allocations: 2.379 MB / 0.7182 GB, free: 196.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/1.054, allocations: 0 / 0.7182 GB, free: 196.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00544/1.06, allocations: 1.046 MB / 0.7192 GB, free: 196.1 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.0004745/1.06, allocations: 169.9 kB / 0.7194 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.07, allocations: 6.121 MB / 0.7254 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.07, allocations: 3.938 kB / 0.7254 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003538/1.074, allocations: 2.142 MB / 0.7275 GB, free: 193.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.077, allocations: 447.3 kB / 0.7279 GB, free: 192.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.092, allocations: 11.65 MB / 0.7393 GB, free: 186.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.095, allocations: 3.164 MB / 0.7424 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009116/1.096, allocations: 267.5 kB / 0.7426 GB, free: 185.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.096, allocations: 0 / 0.7426 GB, free: 185.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1179/1.213, allocations: 128.8 MB / 0.8684 GB, free: 59.88 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches