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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 75.77 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9805/0.9805, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2793/0.2793, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 4 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.111e-05, allocations: 6.25 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008822/0.008843, allocations: 10.78 MB / 386.8 MB, free: 9.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.01434, allocations: 4.029 MB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/0.01498, allocations: 75.62 kB / 390.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.0181, allocations: 3.021 MB / 393.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.02028, allocations: 1.866 MB / 395.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.02111, allocations: 0.76 MB / 396.5 MB, free: 60 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.02402, allocations: 4.074 MB / 400.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.02639, allocations: 3.23 MB / 403.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.0287, allocations: 2.292 MB / 406.1 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.03057, allocations: 2.171 MB / 408.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.03096, allocations: 336 kB / 408.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.03234, allocations: 1.135 MB / 409.8 MB, free: 2.738 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.03395, allocations: 2.026 MB / 411.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.03511, allocations: 1.254 MB / 413 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003625/0.03873, allocations: 4.402 MB / 417.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.03874, allocations: 4 kB / 417.4 MB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03874, allocations: 4 kB / 417.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.103e-05/0.03881, allocations: 0 / 417.4 MB, free: 11.02 MB / 394.7 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.006684/0.04549, allocations: 4.997 MB / 422.4 MB, free: 5.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.04555, allocations: 12.03 kB / 422.5 MB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.05148, allocations: 2.424 MB / 424.9 MB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.05422, allocations: 1.968 MB / 426.8 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.05435, allocations: 242.6 kB / 427.1 MB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005546/0.0549, allocations: 404.3 kB / 427.5 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007217/0.06212, allocations: 6.089 MB / 433.6 MB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.895e-05/0.06219, allocations: 39.64 kB / 433.6 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.06244, allocations: 155.9 kB / 433.8 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001716/0.06416, allocations: 1.759 MB / 435.5 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005806/0.06997, allocations: 3.312 MB / 438.8 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1964/0.2663, allocations: 42.14 MB / 481 MB, free: 58.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.271, allocations: 2.237 MB / 483.2 MB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008512/0.2718, allocations: 0.5926 MB / 483.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005637/0.2775, allocations: 4.596 MB / 488.4 MB, free: 55.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.2775, allocations: 52.39 kB / 488.4 MB, free: 55.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 5.38e-06/0.2775, allocations: 0 / 488.4 MB, free: 55.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01572/0.2932, allocations: 9.147 MB / 497.6 MB, free: 52.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008587/0.2941, allocations: 2.06 MB / 499.7 MB, free: 50.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.2994, allocations: 3.278 MB / 0.4911 GB, free: 49.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003546/0.2997, allocations: 47.3 kB / 0.4912 GB, free: 49.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001962/0.3017, allocations: 3.285 MB / 0.4944 GB, free: 46.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008568/0.3026, allocations: 0.647 MB / 0.495 GB, free: 46.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.304, allocations: 1.256 MB / 0.4963 GB, free: 45.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.3041, allocations: 482 kB / 0.4967 GB, free: 45.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.3054, allocations: 0.684 MB / 0.4974 GB, free: 45.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.3086, allocations: 6.037 MB / 0.5033 GB, free: 37.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005873/0.3144, allocations: 7.44 MB / 0.5105 GB, free: 29.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-05/0.3145, allocations: 37.12 kB / 0.5106 GB, free: 29.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01055/0.325, allocations: 6.52 MB / 0.5169 GB, free: 27.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.3251, allocations: 60.38 kB / 0.517 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005013/0.3301, allocations: 2.248 MB / 0.5192 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005312/0.3354, allocations: 1.839 MB / 0.521 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.3376, allocations: 1.328 MB / 0.5223 GB, free: 26.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.3413, allocations: 4.841 MB / 0.527 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.3441, allocations: 446 kB / 0.5274 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/0.3444, allocations: 355.5 kB / 0.5278 GB, free: 21.55 MB / 410.7 MB 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.001119/0.3455, allocations: 0.6378 MB / 0.5284 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/0.3459, allocations: 345.9 kB / 0.5287 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.3462, allocations: 345 kB / 0.5291 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001847/0.3481, allocations: 1.202 MB / 0.5302 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3481, allocations: 4 kB / 0.5302 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3481, allocations: 11.8 kB / 0.5303 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/0.3554, allocations: 6.07 MB / 0.5362 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3554, allocations: 2.938 kB / 0.5362 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.3559, allocations: 247.7 kB / 0.5364 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3572, allocations: 0.5677 MB / 0.537 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.3573, allocations: 45.47 kB / 0.537 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.3593, allocations: 4.266 MB / 0.5412 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004268/0.3598, allocations: 1.91 MB / 0.543 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.3626, allocations: 2.663 MB / 0.5457 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.3629, allocations: 293.8 kB / 0.5459 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.3631, allocations: 28 kB / 0.546 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.3637, allocations: 159.7 kB / 0.5461 GB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.3639, allocations: 100.7 kB / 0.5462 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.364, allocations: 47.97 kB / 0.5463 GB, free: 3.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.3651, allocations: 1.381 MB / 0.5476 GB, free: 2.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3651, allocations: 0 / 0.5476 GB, free: 2.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002916/0.3681, allocations: 1.069 MB / 0.5486 GB, free: 1.078 MB / 410.7 MB 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.0003107/0.3684, allocations: 175.6 kB / 0.5488 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005275/0.3736, allocations: 3.57 MB / 0.5523 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3736, allocations: 4 kB / 0.5523 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.3756, allocations: 1.395 MB / 0.5537 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.3775, allocations: 408.3 kB / 0.5541 GB, free: 11.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.3893, allocations: 7.414 MB / 0.5613 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.3904, allocations: 1.167 MB / 0.5624 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002322/0.3927, allocations: 1.517 MB / 0.5639 GB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.3931, allocations: 212.5 kB / 0.5641 GB, free: 1.043 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/0.3931, allocations: 0 / 0.5641 GB, free: 1.043 MB / 426.7 MB Notification: Performance of Templates: time 0.04258/0.4357, allocations: 33.03 MB / 0.5964 GB, free: 0.5234 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.588993712794036]