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.001579/0.001579, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001102/0.001102, allocations: 169.3 kB / 24.14 MB, free: 356 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.8916/0.8916, allocations: 158.6 MB / 186 MB, free: 2.762 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.1358/0.1358, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.643e-06/1.643e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.605e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.1664/0.1664, allocations: 11.21 MB / 310.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1777, allocations: 4.226 MB / 314.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.1804, allocations: 80 kB / 314.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004766/0.1852, allocations: 3.044 MB / 317.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.1908, allocations: 2.02 MB / 319.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1927, allocations: 0.7692 MB / 320.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.1978, allocations: 4.225 MB / 324.7 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003535/0.2013, allocations: 3.424 MB / 328.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005037/0.2064, allocations: 2.436 MB / 330.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.2101, allocations: 2.213 MB / 332.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.2114, allocations: 367.9 kB / 333.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2139, allocations: 1.162 MB / 334.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002357/0.2163, allocations: 2.166 MB / 336.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002596/0.2189, allocations: 1.359 MB / 337.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006859/0.2257, allocations: 4.74 MB / 342.6 MB, free: 2.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2257, allocations: 0 / 342.6 MB, free: 2.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2257, allocations: 0 / 342.6 MB, free: 2.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.226, allocations: 0 / 342.6 MB, free: 2.582 MB / 298.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.00787/0.2338, allocations: 4.562 MB / 347.1 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2339, allocations: 12.03 kB / 347.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/0.2369, allocations: 1.148 MB / 348.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.2397, allocations: 1.749 MB / 350.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.2399, allocations: 254.9 kB / 350.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006263/0.2405, allocations: 420.5 kB / 350.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008446/0.249, allocations: 5.187 MB / 355.9 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.2491, allocations: 43.62 kB / 355.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.2494, allocations: 163.8 kB / 356.1 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/0.251, allocations: 1.76 MB / 357.9 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/0.2566, allocations: 2.709 MB / 360.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03131/0.288, allocations: 31.43 MB / 392 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.292, allocations: 1.828 MB / 393.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/0.2929, allocations: 442.5 kB / 394.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007346/0.3003, allocations: 4.108 MB / 398.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.3003, allocations: 47.56 kB / 398.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=153): time 6.543e-06/0.3003, allocations: 0 / 398.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=160): time 0.01186/0.3122, allocations: 4.732 MB / 403.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009784/0.3131, allocations: 1.496 MB / 404.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.3165, allocations: 3.06 MB / 407.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003591/0.3169, allocations: 45.7 kB / 407.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.3189, allocations: 3.153 MB / 410.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.3199, allocations: 0.6706 MB / 411.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.3211, allocations: 1.148 MB / 412.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.3212, allocations: 305.1 kB / 413 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3224, allocations: 0.8287 MB / 413.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002997/0.3254, allocations: 4.436 MB / 418.3 MB, free: 2.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005316/0.3308, allocations: 5.92 MB / 424.2 MB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-05/0.3309, allocations: 40 kB / 424.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.009209/0.3401, allocations: 4.638 MB / 428.9 MB, free: 6.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.3401, allocations: 63.94 kB / 428.9 MB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003542/0.3437, allocations: 1.12 MB / 430.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.347, allocations: 0.5722 MB / 430.6 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/0.3498, allocations: 1.341 MB / 432 MB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.3535, allocations: 3.183 MB / 435.2 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003417/0.3569, allocations: 275.5 kB / 435.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006567/0.3576, allocations: 332 kB / 435.8 MB, free: 15.06 MB / 410.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.001624/0.3592, allocations: 0.6186 MB / 436.4 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005128/0.3597, allocations: 199.8 kB / 436.6 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.3617, allocations: 1.219 MB / 437.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001375/0.3631, allocations: 0.7445 MB / 438.5 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3631, allocations: 7.938 kB / 438.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.3631, allocations: 7.969 kB / 438.5 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008515/0.3716, allocations: 4.306 MB / 442.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.3717, allocations: 0 / 442.8 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.3724, allocations: 207.7 kB / 443.1 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.3739, allocations: 0.5154 MB / 443.6 MB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.374, allocations: 35.97 kB / 443.6 MB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.3763, allocations: 2.862 MB / 446.5 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005817/0.3769, allocations: 1.35 MB / 447.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/0.38, allocations: 2.017 MB / 449.8 MB, free: 440 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/0.3809, allocations: 293.8 kB / 450.1 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.3812, allocations: 24 kB / 450.1 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.382, allocations: 35.98 kB / 450.2 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.3822, allocations: 100.7 kB / 450.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.884e-05/0.3823, allocations: 35.98 kB / 450.3 MB, free: 15.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001259/0.3836, allocations: 1.104 MB / 451.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3836, allocations: 0 / 451.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004055/0.3876, allocations: 1.156 MB / 452.6 MB, free: 13.69 MB / 426.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.0004763/0.3881, allocations: 176 kB / 452.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004909/0.393, allocations: 2.975 MB / 455.7 MB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002492/0.3933, allocations: 100.2 kB / 455.8 MB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3949, allocations: 0.923 MB / 456.7 MB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.3977, allocations: 0.6147 MB / 457.4 MB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.4088, allocations: 7.644 MB / 465 MB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1355/0.5443, allocations: 1.24 MB / 466.2 MB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001696/0.546, allocations: 472.9 kB / 466.7 MB, free: 133.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009148/0.5469, allocations: 0.5315 MB / 467.2 MB, free: 133.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.415e-06/0.5469, allocations: 0 / 467.2 MB, free: 133.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05415/0.6011, allocations: 37.74 MB / 0.4931 GB, free: 112.8 MB / 426.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.219995430670679]