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.001298/0.001298, 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.001391/0.001391, allocations: 169 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.9239/0.9239, allocations: 158.6 MB / 186 MB, free: 2.754 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.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.814e-06/1.814e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.535e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.1386/0.1386, allocations: 11.26 MB / 310.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.1469, allocations: 4.234 MB / 314.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/0.1489, allocations: 80 kB / 314.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.1525, allocations: 2.994 MB / 317.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.1573, allocations: 1.982 MB / 319.7 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1589, allocations: 0.771 MB / 320.5 MB, free: 8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.1631, allocations: 4.222 MB / 324.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.1658, allocations: 3.306 MB / 328 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.169, allocations: 2.405 MB / 330.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.1722, allocations: 2.213 MB / 332.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008954/0.1731, allocations: 360 kB / 333 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.1753, allocations: 1.205 MB / 334.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.177, allocations: 2.166 MB / 336.4 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.179, allocations: 1.355 MB / 337.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.1838, allocations: 4.74 MB / 342.5 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1838, allocations: 0 / 342.5 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1838, allocations: 4 kB / 342.5 MB, free: 2.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.1839, allocations: 0 / 342.5 MB, free: 2.672 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.005968/0.1899, allocations: 4.566 MB / 347 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1899, allocations: 8.031 kB / 347 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.193, allocations: 1.144 MB / 348.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.1954, allocations: 1.749 MB / 349.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1956, allocations: 250.9 kB / 350.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/0.1962, allocations: 424.5 kB / 350.6 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007443/0.2036, allocations: 5.192 MB / 355.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-05/0.2037, allocations: 39.64 kB / 355.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.204, allocations: 163.8 kB / 356 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.2055, allocations: 1.761 MB / 357.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/0.211, allocations: 2.722 MB / 360.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02815/0.2392, allocations: 31.43 MB / 391.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.2432, allocations: 1.816 MB / 393.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/0.2438, allocations: 450.5 kB / 394.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00605/0.2499, allocations: 4.108 MB / 398.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2499, allocations: 47.56 kB / 398.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=153): time 4.319e-06/0.2499, allocations: 4 kB / 398.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=160): time 0.01127/0.2612, allocations: 4.724 MB / 403 MB, free: 3.984 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007524/0.2619, allocations: 1.488 MB / 404.5 MB, free: 2.352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.2646, allocations: 3.06 MB / 407.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.2647, allocations: 45.7 kB / 407.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.2663, allocations: 3.157 MB / 410.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000532/0.2668, allocations: 0.6628 MB / 411.4 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.2678, allocations: 1.156 MB / 412.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.2679, allocations: 305.1 kB / 412.9 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.2692, allocations: 0.8248 MB / 413.7 MB, free: 9.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.2722, allocations: 4.432 MB / 418.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/0.277, allocations: 5.924 MB / 424.1 MB, free: 10.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.711e-05/0.2771, allocations: 44 kB / 424.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.008418/0.2855, allocations: 4.634 MB / 428.8 MB, free: 6.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.2856, allocations: 63.94 kB / 428.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003602/0.2892, allocations: 1.121 MB / 429.9 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.2927, allocations: 0.5683 MB / 430.5 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.2958, allocations: 1.404 MB / 431.9 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.2997, allocations: 3.199 MB / 435.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.3029, allocations: 267.7 kB / 435.4 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007141/0.3036, allocations: 328 kB / 435.7 MB, free: 15.1 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.00182/0.3055, allocations: 0.6106 MB / 436.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.306, allocations: 207.8 kB / 436.5 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.308, allocations: 1.219 MB / 437.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001334/0.3093, allocations: 0.7406 MB / 438.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3093, allocations: 3.938 kB / 438.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.3093, allocations: 11.97 kB / 438.5 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/0.3165, allocations: 4.306 MB / 442.8 MB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3165, allocations: 0 / 442.8 MB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.3172, allocations: 227.7 kB / 443 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3184, allocations: 0.5154 MB / 443.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.3186, allocations: 35.97 kB / 443.6 MB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.3207, allocations: 2.878 MB / 446.4 MB, free: 3.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005604/0.3213, allocations: 1.338 MB / 447.8 MB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/0.3242, allocations: 2.021 MB / 449.8 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.3253, allocations: 293.8 kB / 450.1 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.3256, allocations: 31.98 kB / 450.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.3264, allocations: 24 kB / 450.1 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.3268, allocations: 112.7 kB / 450.3 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.3269, allocations: 31.98 kB / 450.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001466/0.3283, allocations: 1.112 MB / 451.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3283, allocations: 0 / 451.4 MB, free: 14.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00409/0.3324, allocations: 1.144 MB / 452.5 MB, free: 13.71 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.0004778/0.3329, allocations: 176.1 kB / 452.7 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00528/0.3382, allocations: 2.979 MB / 455.7 MB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002128/0.3384, allocations: 92.16 kB / 455.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.3399, allocations: 0.9386 MB / 456.7 MB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.3424, allocations: 0.6055 MB / 457.3 MB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.3529, allocations: 7.646 MB / 465 MB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1157/0.4686, allocations: 1.24 MB / 466.2 MB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001706/0.4703, allocations: 473.8 kB / 466.7 MB, free: 133.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000977/0.4713, allocations: 0.5268 MB / 467.2 MB, free: 133.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/0.4713, allocations: 0 / 467.2 MB, free: 133.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04965/0.5209, allocations: 37.74 MB / 0.4931 GB, free: 112.9 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 -s gbode -gbm=radauIIA3 -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.050323128700256]