Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001254/0.001254, allocations: 96.83 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 173.2 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3602/0.3602, allocations: 43.54 MB / 314.5 MB, free: 8.797 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005292, allocations: 16 kB / 383.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.85 MB / 442.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2603/0.3955, allocations: 43.12 MB / 485.9 MB, free: 24.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.4169, allocations: 10.5 MB / 496.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01076/0.4277, allocations: 210.1 kB / 496.6 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007338/0.4351, allocations: 2.122 MB / 498.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0189/0.4541, allocations: 6.189 MB / 0.493 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.4572, allocations: 0.5857 MB / 0.4936 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.4621, allocations: 2.162 MB / 0.4957 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008751/0.4709, allocations: 4.635 MB / 0.5003 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.4741, allocations: 1.021 MB / 0.5013 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004176/0.4783, allocations: 1.333 MB / 0.5026 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.48, allocations: 146.1 kB / 0.5027 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.4837, allocations: 0.889 MB / 0.5036 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00308/0.4868, allocations: 1.605 MB / 0.5051 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00315/0.49, allocations: 0.8667 MB / 0.506 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009249/0.4993, allocations: 5.657 MB / 0.5115 GB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4993, allocations: 0 / 0.5115 GB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4993, allocations: 1.062 kB / 0.5115 GB, free: 5.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003196/0.4996, allocations: 0 / 0.5115 GB, free: 5.578 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01096/0.5106, allocations: 4.038 MB / 0.5154 GB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5107, allocations: 9.25 kB / 0.5155 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008625/0.5193, allocations: 2.292 MB / 0.5177 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/0.5251, allocations: 2.462 MB / 0.5201 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.5253, allocations: 252.6 kB / 0.5203 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.5266, allocations: 430.6 kB / 0.5207 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.5469, allocations: 10.49 MB / 0.531 GB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.5471, allocations: 43.59 kB / 0.531 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.5476, allocations: 163.8 kB / 0.5312 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002904/0.5505, allocations: 1.943 MB / 0.5331 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5682, allocations: 8.749 MB / 0.5416 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05563/0.6239, allocations: 40.55 MB / 0.5812 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009692/0.6336, allocations: 3.835 MB / 0.585 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.647, allocations: 8.321 MB / 0.5931 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.6471, allocations: 55.5 kB / 0.5932 GB, free: 3.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.338e-06/0.6471, allocations: 0 / 0.5932 GB, free: 3.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03112/0.6782, allocations: 13.38 MB / 0.6062 GB, free: 5.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001299/0.6796, allocations: 1.643 MB / 0.6078 GB, free: 3.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/0.6856, allocations: 4.096 MB / 0.6118 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004889/0.6861, allocations: 49.7 kB / 0.6119 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.6884, allocations: 3.209 MB / 0.615 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008265/0.6892, allocations: 0.6483 MB / 0.6156 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.6895, allocations: 116 kB / 0.6158 GB, free: 11.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003624/0.6899, allocations: 0.5621 MB / 0.6163 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.693, allocations: 2.198 MB / 0.6185 GB, free: 9.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005259/0.6983, allocations: 5.92 MB / 0.6242 GB, free: 1.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004954/0.7033, allocations: 3.515 MB / 0.6277 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-05/0.7034, allocations: 40.28 kB / 0.6277 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02211/0.7255, allocations: 9.601 MB / 0.6371 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/0.7256, allocations: 66.75 kB / 0.6371 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0106/0.7362, allocations: 3.902 MB / 0.641 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2368/0.973, allocations: 2.242 MB / 0.6431 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/0.9779, allocations: 1.389 MB / 0.6445 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/0.9865, allocations: 7.276 MB / 0.6516 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005105/0.9916, allocations: 422.9 kB / 0.652 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008876/0.9925, allocations: 376.9 kB / 0.6524 GB, free: 148.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (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 (750): * Single equations (assignments): 741 * 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.003829/0.9964, allocations: 2.117 MB / 0.6544 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000617/0.997, allocations: 342.1 kB / 0.6548 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/1.002, allocations: 3.177 MB / 0.6579 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004409/1.007, allocations: 2.684 MB / 0.6605 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.007, allocations: 3.625 kB / 0.6605 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.007, allocations: 6.234 kB / 0.6605 GB, free: 146.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/1.024, allocations: 9.177 MB / 0.6695 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.024, allocations: 2.344 kB / 0.6695 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.026, allocations: 270.3 kB / 0.6697 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/1.029, allocations: 1.037 MB / 0.6707 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.029, allocations: 42.95 kB / 0.6708 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005097/1.034, allocations: 5.113 MB / 0.6758 GB, free: 139.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007204/1.035, allocations: 1.493 MB / 0.6772 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007793/1.042, allocations: 5.709 MB / 0.6828 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.044, allocations: 413.8 kB / 0.6832 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/1.044, allocations: 33 kB / 0.6832 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.046, allocations: 145.4 kB / 0.6834 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/1.046, allocations: 102.8 kB / 0.6835 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.046, allocations: 48.42 kB / 0.6835 GB, free: 135.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003838/1.05, allocations: 2.559 MB / 0.686 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.05, allocations: 0.8125 kB / 0.686 GB, free: 134.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00498/1.055, allocations: 1.121 MB / 0.6871 GB, free: 134.7 MB / 0.4981 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 (126): * Single equations (assignments): 119 * 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.0004115/1.055, allocations: 183.3 kB / 0.6873 GB, free: 134.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007863/1.063, allocations: 5.83 MB / 0.693 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.063, allocations: 6.75 kB / 0.693 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003585/1.067, allocations: 2.251 MB / 0.6952 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.07, allocations: 407.1 kB / 0.6956 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.088, allocations: 11.46 MB / 0.7068 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/1.09, allocations: 3.391 MB / 0.7101 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003859/1.094, allocations: 1.9 MB / 0.7119 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/1.095, allocations: 239.4 kB / 0.7121 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/1.095, allocations: 0 / 0.7121 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.05434/1.149, allocations: 38.4 MB / 0.7496 GB, free: 81.36 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches