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.001254/0.001254, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001958/0.001958, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 1.078/1.078, allocations: 158.6 MB / 186 MB, free: 2.926 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.144/0.144, allocations: 32.37 MB / 270.7 MB, free: 14.79 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 1.854e-06/1.854e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.04e-05/4.225e-05, allocations: 2.312 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01376/0.0138, allocations: 11.47 MB / 359.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.02529, allocations: 4.105 MB / 363.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.02946, allocations: 79.62 kB / 363.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007266/0.03673, allocations: 3.037 MB / 366.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007856/0.04458, allocations: 2.014 MB / 368.4 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.04698, allocations: 0.7601 MB / 369.2 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007337/0.05432, allocations: 4.208 MB / 373.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005725/0.06004, allocations: 3.343 MB / 376.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005929/0.06597, allocations: 2.424 MB / 379.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004404/0.07038, allocations: 2.315 MB / 381.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.0714, allocations: 360 kB / 381.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.07347, allocations: 1.174 MB / 383 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.07515, allocations: 2.166 MB / 385.2 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.07779, allocations: 1.359 MB / 386.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006393/0.08418, allocations: 4.733 MB / 391.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.08419, allocations: 0 / 391.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08419, allocations: 0 / 391.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002901/0.08448, allocations: 0 / 391.3 MB, free: 13.97 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.008894/0.09337, allocations: 5.315 MB / 396.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.09342, allocations: 8.031 kB / 396.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.09834, allocations: 2.463 MB / 399.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.1019, allocations: 2.058 MB / 401.1 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.1021, allocations: 254.9 kB / 401.4 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007207/0.1028, allocations: 424.3 kB / 401.8 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.1143, allocations: 6.395 MB / 408.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.1145, allocations: 39.64 kB / 408.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.1148, allocations: 163.8 kB / 408.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/0.1167, allocations: 1.935 MB / 410.3 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008598/0.1253, allocations: 3.511 MB / 413.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2192/0.3445, allocations: 44.08 MB / 457.9 MB, free: 70.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/0.3505, allocations: 2.261 MB / 460.2 MB, free: 70.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.3516, allocations: 0.6511 MB / 460.8 MB, free: 70.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006785/0.3584, allocations: 4.832 MB / 465.6 MB, free: 69.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.3585, allocations: 55.08 kB / 465.7 MB, free: 69.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.118e-06/0.3585, allocations: 0 / 465.7 MB, free: 69.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01761/0.3761, allocations: 9.563 MB / 475.3 MB, free: 66.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008678/0.3769, allocations: 2.035 MB / 477.3 MB, free: 64.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/0.3805, allocations: 3.43 MB / 480.7 MB, free: 61.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000283/0.3808, allocations: 49.7 kB / 480.8 MB, free: 61.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.3825, allocations: 3.478 MB / 484.3 MB, free: 58.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005872/0.3831, allocations: 0.7008 MB / 485 MB, free: 57.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009816/0.3841, allocations: 1.312 MB / 486.3 MB, free: 56.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.3842, allocations: 480.7 kB / 486.7 MB, free: 55.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.3853, allocations: 0.7413 MB / 487.5 MB, free: 54.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.3881, allocations: 6.289 MB / 493.8 MB, free: 46.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/0.3932, allocations: 7.78 MB / 0.4898 GB, free: 35.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.3933, allocations: 44 kB / 0.4898 GB, free: 35.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01282/0.4061, allocations: 6.722 MB / 0.4964 GB, free: 29.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.4062, allocations: 60 kB / 0.4965 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004957/0.4112, allocations: 2.313 MB / 0.4987 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/0.416, allocations: 1.746 MB / 0.5004 GB, free: 24.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/0.4191, allocations: 1.404 MB / 0.5018 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.4232, allocations: 4.836 MB / 0.5065 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/0.4268, allocations: 463.2 kB / 0.507 GB, free: 18.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006612/0.4275, allocations: 376 kB / 0.5073 GB, free: 17.69 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.001578/0.4291, allocations: 0.6604 MB / 0.508 GB, free: 17.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/0.4296, allocations: 357.9 kB / 0.5083 GB, free: 16.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.432, allocations: 1.692 MB / 0.51 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001896/0.4339, allocations: 1.258 MB / 0.5112 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.4339, allocations: 7.938 kB / 0.5112 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4339, allocations: 7.969 kB / 0.5112 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00992/0.4438, allocations: 6.556 MB / 0.5176 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4438, allocations: 3.938 kB / 0.5176 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.4446, allocations: 271.6 kB / 0.5179 GB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.4459, allocations: 0.5564 MB / 0.5184 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.446, allocations: 39.97 kB / 0.5184 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.4484, allocations: 4.265 MB / 0.5226 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006679/0.4491, allocations: 1.907 MB / 0.5245 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.4536, allocations: 2.782 MB / 0.5272 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008631/0.4545, allocations: 313.8 kB / 0.5275 GB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/0.4548, allocations: 28 kB / 0.5275 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/0.4558, allocations: 175 kB / 0.5277 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/0.456, allocations: 104.7 kB / 0.5278 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.4561, allocations: 47.98 kB / 0.5278 GB, free: 12.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002233/0.4583, allocations: 1.454 MB / 0.5292 GB, free: 10.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4583, allocations: 0 / 0.5292 GB, free: 10.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0048/0.4631, allocations: 1.159 MB / 0.5304 GB, free: 9.496 MB / 394.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.0004885/0.4636, allocations: 190.9 kB / 0.5306 GB, free: 9.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.4706, allocations: 3.736 MB / 0.5342 GB, free: 5.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.4706, allocations: 3.938 kB / 0.5342 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.4728, allocations: 1.435 MB / 0.5356 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.475, allocations: 416.9 kB / 0.536 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.4866, allocations: 7.917 MB / 0.5437 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/0.4878, allocations: 1.248 MB / 0.545 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002629/0.4904, allocations: 1.583 MB / 0.5465 GB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/0.4912, allocations: 228.4 kB / 0.5467 GB, free: 8.562 MB / 410.7 MB Notification: Performance of SimCode: time 3.677e-06/0.4912, allocations: 0 / 0.5467 GB, free: 8.562 MB / 410.7 MB Notification: Performance of Templates: time 0.05034/0.5415, allocations: 34.98 MB / 0.5809 GB, free: 5.672 MB / 442.7 MB " [Timeout remaining time 659] 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.731942275073379]