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: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.002231/0.002231, allocations: 181 kB / 18.71 MB, free: 4.207 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.41/1.41, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2231/0.2231, allocations: 44.2 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3516, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01255/0.3642, allocations: 11.24 MB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009495/0.3737, allocations: 4.105 MB / 0.5334 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.3766, allocations: 66 kB / 0.5335 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006188/0.3829, allocations: 2.817 MB / 0.5362 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006452/0.3894, allocations: 1.8 MB / 0.538 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.3915, allocations: 0.7038 MB / 0.5387 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006272/0.3978, allocations: 3.677 MB / 0.5423 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004758/0.4026, allocations: 3.83 MB / 0.546 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.4055, allocations: 1.526 MB / 0.5475 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.4086, allocations: 2.001 MB / 0.5494 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008448/0.4095, allocations: 336 kB / 0.5498 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.4119, allocations: 1.205 MB / 0.5509 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002008/0.4139, allocations: 1.886 MB / 0.5528 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.417, allocations: 2.206 MB / 0.5549 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009384/0.4264, allocations: 7.019 MB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4264, allocations: 0 / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4264, allocations: 0 / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001711/0.4266, allocations: 4 kB / 0.5618 GB, free: 15.51 MB / 430.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.009415/0.436, allocations: 4.779 MB / 0.5665 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4361, allocations: 12.03 kB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009741/0.4371, allocations: 0.7195 MB / 0.5672 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006978/0.4441, allocations: 1.94 MB / 0.5691 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/0.4496, allocations: 2.538 MB / 0.5715 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.4499, allocations: 246.2 kB / 0.5718 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.4511, allocations: 407.7 kB / 0.5722 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/0.4708, allocations: 9.907 MB / 0.5818 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.471, allocations: 43.58 kB / 0.5819 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.4715, allocations: 155.9 kB / 0.582 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/0.4745, allocations: 1.829 MB / 0.5838 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.4906, allocations: 8.2 MB / 0.5918 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04987/0.5405, allocations: 38.66 MB / 0.6296 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00982/0.5504, allocations: 3.677 MB / 0.6332 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/0.553, allocations: 1.615 MB / 0.6348 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.5646, allocations: 7.83 MB / 0.6424 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.5647, allocations: 47.5 kB / 0.6424 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=141): time 5.4e-06/0.5647, allocations: 4 kB / 0.6425 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=148): time 0.02986/0.5946, allocations: 12.55 MB / 0.6547 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001461/0.5961, allocations: 1.715 MB / 0.6564 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.6014, allocations: 3.854 MB / 0.6602 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002971/0.6017, allocations: 49.69 kB / 0.6602 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002593/0.6043, allocations: 3.166 MB / 0.6633 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007885/0.6051, allocations: 0.632 MB / 0.6639 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.6066, allocations: 1.175 MB / 0.6651 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6067, allocations: 301.1 kB / 0.6653 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/0.6097, allocations: 2.03 MB / 0.6673 GB, free: 460 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006561/0.6162, allocations: 5.664 MB / 0.6729 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6272, allocations: 8.267 MB / 0.6809 GB, free: 14.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.6273, allocations: 36 kB / 0.681 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02111/0.6484, allocations: 8.867 MB / 0.6896 GB, free: 5.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6486, allocations: 60.19 kB / 0.6897 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009924/0.6585, allocations: 3.253 MB / 0.6929 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009569/0.6681, allocations: 1.844 MB / 0.6947 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/0.6726, allocations: 1.314 MB / 0.6959 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009532/0.6821, allocations: 6.136 MB / 0.7019 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/0.6869, allocations: 395.5 kB / 0.7023 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009953/0.6879, allocations: 360 kB / 0.7027 GB, free: 8.301 MB / 0.5606 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 (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.003449/0.6913, allocations: 2.033 MB / 0.7046 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006865/0.692, allocations: 341.7 kB / 0.705 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006074/0.6981, allocations: 2.934 MB / 0.7078 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004955/0.7031, allocations: 2.488 MB / 0.7103 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.7031, allocations: 4 kB / 0.7103 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.7032, allocations: 7.969 kB / 0.7103 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.7195, allocations: 8.544 MB / 0.7186 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7196, allocations: 0 / 0.7186 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.7208, allocations: 243.7 kB / 0.7188 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.724, allocations: 1.037 MB / 0.7199 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.7242, allocations: 39.97 kB / 0.7199 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006656/0.7308, allocations: 5.329 MB / 0.7251 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2455/0.9763, allocations: 1.568 MB / 0.7266 GB, free: 180.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008856/0.9852, allocations: 5.199 MB / 0.7317 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/0.9863, allocations: 407.1 kB / 0.7321 GB, free: 179.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.9867, allocations: 27.7 kB / 0.7321 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.988, allocations: 138.2 kB / 0.7323 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.9883, allocations: 94.16 kB / 0.7323 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.9885, allocations: 48.5 kB / 0.7324 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003585/0.992, allocations: 2.383 MB / 0.7347 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9921, allocations: 0 / 0.7347 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004526/0.9966, allocations: 1.031 MB / 0.7357 GB, free: 178.3 MB / 0.5762 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.007524/1.004, allocations: 5.85 MB / 0.7414 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008056/1.012, allocations: 5.506 MB / 0.7468 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.012, allocations: 0 / 0.7468 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003265/1.016, allocations: 2.152 MB / 0.7489 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.018, allocations: 443.8 kB / 0.7493 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05798/1.076, allocations: 45.8 MB / 0.7941 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/1.079, allocations: 3.164 MB / 0.7972 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003203/1.082, allocations: 1.814 MB / 0.7989 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.084, allocations: 1.784 MB / 0.8007 GB, free: 121 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/1.084, allocations: 0 / 0.8007 GB, free: 121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.189, allocations: 67.72 MB / 0.8668 GB, free: 53.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/22.05, allocations: 7.531 kB / 0.8668 GB, free: 53.66 MB / 0.5762 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.csv","/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