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.001088/0.001088, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0012/0.0012, allocations: 173 kB / 24.05 MB, free: 456 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 0.9979/0.9979, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.1447/0.1447, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.274e-06/2.274e-06, allocations: 0 / 348.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/2.047e-05, allocations: 4.281 kB / 348.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.007742/0.007762, allocations: 11.23 MB / 359.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007708/0.01547, allocations: 4.074 MB / 363.5 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.01699, allocations: 83.56 kB / 363.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.02026, allocations: 3.006 MB / 366.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00336/0.02362, allocations: 2.014 MB / 368.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.02498, allocations: 0.7562 MB / 369.3 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.02854, allocations: 4.222 MB / 373.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.03102, allocations: 3.339 MB / 376.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.03303, allocations: 2.436 MB / 379.3 MB, free: 9.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.03506, allocations: 2.322 MB / 381.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.03545, allocations: 360 kB / 382 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.03691, allocations: 1.174 MB / 383.2 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.03827, allocations: 2.166 MB / 385.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.03919, allocations: 1.355 MB / 386.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.04297, allocations: 4.741 MB / 391.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.04298, allocations: 0 / 391.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04298, allocations: 4 kB / 391.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.231e-05/0.04302, allocations: 0 / 391.5 MB, free: 13.65 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.004964/0.04799, allocations: 5.143 MB / 396.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.04804, allocations: 12.03 kB / 396.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.05132, allocations: 1.527 MB / 398.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.0533, allocations: 1.913 MB / 400 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.05343, allocations: 254.9 kB / 400.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/0.05396, allocations: 420.3 kB / 400.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.06024, allocations: 5.774 MB / 406.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-05/0.06033, allocations: 43.62 kB / 406.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.06067, allocations: 159.9 kB / 406.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.0627, allocations: 1.768 MB / 408.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005729/0.06843, allocations: 2.752 MB / 411.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2305/0.299, allocations: 43.54 MB / 454.7 MB, free: 65.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.3035, allocations: 1.93 MB / 456.7 MB, free: 65.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/0.3043, allocations: 0.5466 MB / 457.2 MB, free: 65.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005209/0.3095, allocations: 4.54 MB / 461.8 MB, free: 64.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3096, allocations: 58.06 kB / 461.8 MB, free: 63.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.747e-06/0.3096, allocations: 0 / 461.8 MB, free: 63.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01144/0.321, allocations: 5.618 MB / 467.4 MB, free: 63.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006766/0.3217, allocations: 2.016 MB / 469.4 MB, free: 61.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.3246, allocations: 3.41 MB / 472.9 MB, free: 60.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/0.3246, allocations: 47.7 kB / 472.9 MB, free: 60.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.326, allocations: 3.511 MB / 476.4 MB, free: 58.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.3263, allocations: 0.6976 MB / 477.1 MB, free: 58.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.3274, allocations: 1.345 MB / 478.5 MB, free: 58.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3274, allocations: 480.8 kB / 478.9 MB, free: 57.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/0.3283, allocations: 0.6644 MB / 479.6 MB, free: 57.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.3308, allocations: 6.248 MB / 485.8 MB, free: 49.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004472/0.3353, allocations: 7.657 MB / 493.5 MB, free: 39.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-05/0.3353, allocations: 44 kB / 493.5 MB, free: 39.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.007682/0.343, allocations: 5.398 MB / 498.9 MB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.3431, allocations: 62.66 kB / 499 MB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003301/0.3464, allocations: 1.268 MB / 0.4885 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.3496, allocations: 0.5761 MB / 0.4891 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.3517, allocations: 1.345 MB / 0.4904 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.3546, allocations: 4.308 MB / 0.4946 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.3575, allocations: 271.7 kB / 0.4949 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.3578, allocations: 328 kB / 0.4952 GB, free: 25.79 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.001628/0.3594, allocations: 0.6646 MB / 0.4958 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.3599, allocations: 361.8 kB / 0.4962 GB, free: 24.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001874/0.3618, allocations: 1.369 MB / 0.4975 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001377/0.3631, allocations: 0.9182 MB / 0.4984 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3631, allocations: 4 kB / 0.4984 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.3632, allocations: 7.969 kB / 0.4984 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.3698, allocations: 5.122 MB / 0.5034 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3698, allocations: 4 kB / 0.5034 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005461/0.3703, allocations: 211.7 kB / 0.5036 GB, free: 16.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009876/0.3713, allocations: 369 kB / 0.504 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.825e-05/0.3714, allocations: 39.97 kB / 0.504 GB, free: 16.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.3733, allocations: 4.001 MB / 0.5079 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004088/0.3737, allocations: 1.871 MB / 0.5098 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.3761, allocations: 2.362 MB / 0.5121 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.3764, allocations: 301.7 kB / 0.5124 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.3766, allocations: 35.92 kB / 0.5124 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.3773, allocations: 28 kB / 0.5124 GB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3774, allocations: 104.7 kB / 0.5125 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.3775, allocations: 39.98 kB / 0.5126 GB, free: 7.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009563/0.3784, allocations: 1.352 MB / 0.5139 GB, free: 6.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3784, allocations: 0 / 0.5139 GB, free: 6.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003399/0.3818, allocations: 1.152 MB / 0.515 GB, free: 4.938 MB / 378.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.0003453/0.3822, allocations: 190.8 kB / 0.5152 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.3858, allocations: 3.313 MB / 0.5184 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.3858, allocations: 0 / 0.5184 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.3871, allocations: 1.135 MB / 0.5195 GB, free: 224 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.3884, allocations: 403.8 kB / 0.5199 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.3995, allocations: 7.894 MB / 0.5276 GB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.4006, allocations: 1.248 MB / 0.5288 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001352/0.402, allocations: 478.8 kB / 0.5293 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/0.4029, allocations: 0.5723 MB / 0.5299 GB, free: 5.531 MB / 394.7 MB Notification: Performance of SimCode: time 2.765e-06/0.4029, allocations: 0 / 0.5299 GB, free: 5.531 MB / 394.7 MB Notification: Performance of Templates: time 0.0519/0.4548, allocations: 37.87 MB / 0.5668 GB, free: 15.71 MB / 442.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.399505423847586]