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.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.001577/0.001577, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.001782/0.001782, allocations: 165 kB / 23.79 MB, free: 0.7891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9554/0.9554, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1305/0.1305, allocations: 32.37 MB / 270.4 MB, free: 14.72 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.45e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01314/0.01317, allocations: 11.5 MB / 359.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009943/0.02311, allocations: 4.117 MB / 363.4 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.02496, allocations: 79.62 kB / 363.4 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003296/0.02826, allocations: 3.045 MB / 366.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.03181, allocations: 2.014 MB / 368.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.03294, allocations: 0.7601 MB / 369.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003558/0.0365, allocations: 4.21 MB / 373.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.03972, allocations: 3.343 MB / 376.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.0423, allocations: 2.42 MB / 379.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.04481, allocations: 2.319 MB / 381.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006289/0.04544, allocations: 360 kB / 381.9 MB, free: 7.043 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.04723, allocations: 1.174 MB / 383.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.04893, allocations: 2.162 MB / 385.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.05066, allocations: 1.355 MB / 386.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.05554, allocations: 4.74 MB / 391.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.05555, allocations: 4 kB / 391.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.05555, allocations: 0 / 391.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-05/0.05561, allocations: 0 / 391.3 MB, free: 13.58 MB / 330.7 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.005568/0.06117, allocations: 5.307 MB / 396.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.06122, allocations: 12.03 kB / 396.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004143/0.06537, allocations: 2.463 MB / 399.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.06768, allocations: 2.058 MB / 401.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.06781, allocations: 250.9 kB / 401.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/0.06835, allocations: 428.3 kB / 401.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006808/0.07516, allocations: 6.403 MB / 408.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/0.07523, allocations: 39.64 kB / 408.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.0755, allocations: 155.9 kB / 408.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001647/0.07715, allocations: 1.939 MB / 410.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005991/0.08314, allocations: 3.511 MB / 413.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2021/0.2852, allocations: 44.08 MB / 458 MB, free: 51.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/0.2904, allocations: 2.245 MB / 460.2 MB, free: 51.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.2913, allocations: 0.6455 MB / 460.9 MB, free: 51.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006664/0.298, allocations: 4.84 MB / 465.7 MB, free: 50.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.298, allocations: 53.78 kB / 465.8 MB, free: 50.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.707e-06/0.298, allocations: 0 / 465.8 MB, free: 50.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01409/0.3121, allocations: 9.56 MB / 475.3 MB, free: 47.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007097/0.3128, allocations: 2.034 MB / 477.4 MB, free: 45.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.3157, allocations: 3.435 MB / 480.8 MB, free: 44.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.3158, allocations: 50.08 kB / 480.8 MB, free: 44.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.317, allocations: 3.483 MB / 484.3 MB, free: 42.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.3174, allocations: 0.6928 MB / 485 MB, free: 42.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.3184, allocations: 1.32 MB / 486.3 MB, free: 42.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.3185, allocations: 482.5 kB / 486.8 MB, free: 41.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3195, allocations: 0.7356 MB / 487.5 MB, free: 41.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.3219, allocations: 6.285 MB / 493.8 MB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004342/0.3262, allocations: 7.788 MB / 0.4899 GB, free: 24.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.3263, allocations: 37.64 kB / 0.4899 GB, free: 24.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.009653/0.3359, allocations: 6.724 MB / 0.4965 GB, free: 19.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.336, allocations: 60 kB / 0.4965 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004789/0.3408, allocations: 2.313 MB / 0.4988 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004736/0.3455, allocations: 1.743 MB / 0.5005 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/0.3478, allocations: 1.407 MB / 0.5018 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.3514, allocations: 4.837 MB / 0.5066 GB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.3542, allocations: 459.3 kB / 0.507 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002874/0.3545, allocations: 376 kB / 0.5074 GB, free: 7.625 MB / 378.7 MB 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 (754): * Single equations (assignments): 745 * 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.001126/0.3556, allocations: 0.6545 MB / 0.508 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.3559, allocations: 357.9 kB / 0.5084 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.3582, allocations: 1.698 MB / 0.51 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001876/0.3601, allocations: 1.262 MB / 0.5112 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3601, allocations: 7.938 kB / 0.5112 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3601, allocations: 7.922 kB / 0.5113 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008377/0.3685, allocations: 6.555 MB / 0.5177 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3685, allocations: 2.406 kB / 0.5177 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.3692, allocations: 267.6 kB / 0.5179 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.3706, allocations: 0.5642 MB / 0.5185 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.3707, allocations: 35.98 kB / 0.5185 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.3734, allocations: 4.268 MB / 0.5227 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007344/0.3742, allocations: 1.913 MB / 0.5245 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.3778, allocations: 2.775 MB / 0.5272 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.3783, allocations: 309.7 kB / 0.5275 GB, free: 2.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.3785, allocations: 35.98 kB / 0.5276 GB, free: 2.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/0.3793, allocations: 170.9 kB / 0.5277 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3795, allocations: 104.8 kB / 0.5278 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.3796, allocations: 43.98 kB / 0.5279 GB, free: 2.051 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001679/0.3813, allocations: 1.464 MB / 0.5293 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3813, allocations: 0 / 0.5293 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004007/0.3853, allocations: 1.144 MB / 0.5304 GB, free: 15.45 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 (126): * Single equations (assignments): 119 * 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.0003732/0.3856, allocations: 198.6 kB / 0.5306 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005088/0.3907, allocations: 3.749 MB / 0.5343 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3907, allocations: 0 / 0.5343 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.3925, allocations: 1.437 MB / 0.5357 GB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.3938, allocations: 409.7 kB / 0.5361 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009396/0.4032, allocations: 7.915 MB / 0.5438 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.4042, allocations: 1.252 MB / 0.545 GB, free: 328 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002267/0.4065, allocations: 1.586 MB / 0.5466 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/0.4069, allocations: 220.5 kB / 0.5468 GB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4069, allocations: 0 / 0.5468 GB, free: 14.52 MB / 426.7 MB Notification: Performance of Templates: time 0.04538/0.4523, allocations: 34.98 MB / 0.5809 GB, free: 11.64 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] 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","",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.494711393956095]