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.001179/0.001179, allocations: 94.69 kB / 18 MB, free: 5.602 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.001339/0.001339, allocations: 180.7 kB / 18.91 MB, free: 4.738 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.367/1.367, allocations: 223.3 MB / 243 MB, free: 14.43 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.2/0.2, allocations: 44.24 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2875/0.4078, allocations: 48.41 MB / 0.5091 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02589/0.4337, allocations: 10.5 MB / 0.5194 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0116/0.4454, allocations: 215.2 kB / 0.5196 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.4474, allocations: 416.6 kB / 0.52 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.4538, allocations: 1.711 MB / 0.5216 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.4564, allocations: 0.6289 MB / 0.5222 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008716/0.4651, allocations: 5.438 MB / 0.5276 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008105/0.4732, allocations: 5.291 MB / 0.5327 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.4762, allocations: 1.103 MB / 0.5338 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.4793, allocations: 1.837 MB / 0.5356 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008836/0.4802, allocations: 137.1 kB / 0.5357 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.4831, allocations: 1.07 MB / 0.5368 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.4852, allocations: 1.685 MB / 0.5384 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003541/0.4888, allocations: 1.949 MB / 0.5403 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006212/0.495, allocations: 5.359 MB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.495, allocations: 4 kB / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.495, allocations: 0 / 0.5456 GB, free: 13.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.4952, allocations: 0 / 0.5456 GB, free: 13.26 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.0075/0.5027, allocations: 3.796 MB / 0.5493 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5028, allocations: 12.03 kB / 0.5493 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006735/0.5095, allocations: 1.948 MB / 0.5512 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003999/0.5136, allocations: 2.17 MB / 0.5533 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.5138, allocations: 243.5 kB / 0.5535 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.5149, allocations: 413.4 kB / 0.5539 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.533, allocations: 9.913 MB / 0.5636 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.5332, allocations: 43.59 kB / 0.5636 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/0.5345, allocations: 155.1 kB / 0.5638 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003076/0.5376, allocations: 1.829 MB / 0.5656 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.5548, allocations: 8.215 MB / 0.5736 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/0.6038, allocations: 38.8 MB / 0.6115 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009362/0.6133, allocations: 3.678 MB / 0.6151 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.6156, allocations: 1.623 MB / 0.6167 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.6281, allocations: 7.839 MB / 0.6243 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.6282, allocations: 43.56 kB / 0.6244 GB, free: 10.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 4.088e-06/0.6282, allocations: 4 kB / 0.6244 GB, free: 10.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03379/0.662, allocations: 12.34 MB / 0.6364 GB, free: 14.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001427/0.6634, allocations: 1.616 MB / 0.638 GB, free: 12.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007063/0.6705, allocations: 3.836 MB / 0.6417 GB, free: 8.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.6709, allocations: 45.7 kB / 0.6418 GB, free: 8.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.6734, allocations: 3.042 MB / 0.6448 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009632/0.6743, allocations: 0.6013 MB / 0.6454 GB, free: 4.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.6755, allocations: 0.5014 MB / 0.6458 GB, free: 4.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.6756, allocations: 305.1 kB / 0.6461 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/0.6791, allocations: 2.034 MB / 0.6481 GB, free: 1.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006022/0.6851, allocations: 5.669 MB / 0.6537 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009688/0.6948, allocations: 8.277 MB / 0.6617 GB, free: 412 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/0.695, allocations: 36 kB / 0.6618 GB, free: 376 kB / 0.4981 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02274/0.7178, allocations: 9.154 MB / 0.6707 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.7179, allocations: 60 kB / 0.6708 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01159/0.7295, allocations: 3.569 MB / 0.6743 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01105/0.7406, allocations: 2.226 MB / 0.6764 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/0.7454, allocations: 1.333 MB / 0.6777 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.7555, allocations: 6.875 MB / 0.6844 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/0.7607, allocations: 395.3 kB / 0.6848 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/0.7619, allocations: 363.5 kB / 0.6852 GB, free: 8.098 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.004605/0.7665, allocations: 2.029 MB / 0.6871 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009424/0.7675, allocations: 327.8 kB / 0.6875 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/0.7742, allocations: 2.936 MB / 0.6903 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004893/0.7791, allocations: 2.488 MB / 0.6928 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/0.7791, allocations: 7.938 kB / 0.6928 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.7792, allocations: 7.922 kB / 0.6928 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.797, allocations: 8.553 MB / 0.7011 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.797, allocations: 4 kB / 0.7011 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.7983, allocations: 243.6 kB / 0.7014 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.8015, allocations: 1.037 MB / 0.7024 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.8018, allocations: 35.97 kB / 0.7024 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005824/0.8076, allocations: 5.015 MB / 0.7073 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2619/1.07, allocations: 1.471 MB / 0.7087 GB, free: 200 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.08, allocations: 5.176 MB / 0.7138 GB, free: 199.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.081, allocations: 399.6 kB / 0.7142 GB, free: 199.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/1.081, allocations: 30.28 kB / 0.7142 GB, free: 199.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.083, allocations: 136.6 kB / 0.7143 GB, free: 199.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/1.083, allocations: 91.36 kB / 0.7144 GB, free: 199.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.083, allocations: 46.75 kB / 0.7145 GB, free: 199.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004232/1.088, allocations: 2.379 MB / 0.7168 GB, free: 198.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/1.088, allocations: 0 / 0.7168 GB, free: 198.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005549/1.093, allocations: 1.044 MB / 0.7178 GB, free: 198.6 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.000462/1.094, allocations: 168.7 kB / 0.718 GB, free: 198.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.104, allocations: 5.517 MB / 0.7234 GB, free: 196.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.104, allocations: 0 / 0.7234 GB, free: 196.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003913/1.108, allocations: 2.149 MB / 0.7255 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/1.111, allocations: 425.3 kB / 0.7259 GB, free: 195.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/1.125, allocations: 11.82 MB / 0.7374 GB, free: 189 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/1.128, allocations: 3.16 MB / 0.7405 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/1.129, allocations: 270.7 kB / 0.7408 GB, free: 187.7 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/1.129, allocations: 0 / 0.7408 GB, free: 187.7 MB / 0.545 GB Notification: Performance of Templates: time 0.12/1.249, allocations: 128 MB / 0.8658 GB, free: 64.11 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