Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9861/0.9861, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 34.85 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.399e-05, allocations: 5.406 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01138/0.0114, allocations: 12.69 MB / 338.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007635/0.01904, allocations: 4.272 MB / 342.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.02077, allocations: 83.69 kB / 343 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.02354, allocations: 2.067 MB / 345.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.02754, allocations: 1.987 MB / 347.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.02875, allocations: 0.5924 MB / 347.7 MB, free: 1.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.03376, allocations: 4.426 MB / 352.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.03731, allocations: 2.732 MB / 354.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.0408, allocations: 2.268 MB / 357.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.04377, allocations: 2.065 MB / 359.2 MB, free: 5.766 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008786/0.04465, allocations: 304 kB / 359.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.04649, allocations: 0.9985 MB / 360.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.04809, allocations: 1.971 MB / 362.4 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.04997, allocations: 1.207 MB / 363.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.05485, allocations: 4.634 MB / 368.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.05486, allocations: 4 kB / 368.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.05486, allocations: 0 / 368.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001975/0.05505, allocations: 0 / 368.3 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.006422/0.06148, allocations: 4.565 MB / 372.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.06151, allocations: 8.031 kB / 372.8 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/0.06566, allocations: 1.472 MB / 374.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.06801, allocations: 1.662 MB / 376 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.06815, allocations: 230.2 kB / 376.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.06855, allocations: 320.1 kB / 376.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007929/0.07648, allocations: 5.218 MB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.358e-05/0.07656, allocations: 39.62 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.07684, allocations: 143.8 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/0.07896, allocations: 2.399 MB / 384.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.08594, allocations: 2.967 MB / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0362/0.1221, allocations: 29.92 MB / 417.2 MB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.1268, allocations: 2.196 MB / 419.4 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.1275, allocations: 450.8 kB / 419.8 MB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006679/0.1342, allocations: 4.054 MB / 423.9 MB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.1343, allocations: 47.88 kB / 423.9 MB, free: 3.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 6.963e-06/0.1343, allocations: 4 kB / 423.9 MB, free: 3.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.01356/0.1478, allocations: 5.732 MB / 429.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.1479, allocations: 72.66 kB / 429.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.1504, allocations: 2.657 MB / 432.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.1505, allocations: 53.69 kB / 432.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.1519, allocations: 3.192 MB / 435.6 MB, free: 7.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.1524, allocations: 0.7906 MB / 436.4 MB, free: 6.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009472/0.1534, allocations: 1.089 MB / 437.5 MB, free: 5.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.1534, allocations: 305.1 kB / 437.8 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.155, allocations: 0.7734 MB / 438.6 MB, free: 4.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.1578, allocations: 4.02 MB / 442.6 MB, free: 14.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/0.1628, allocations: 5.266 MB / 447.9 MB, free: 7.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-05/0.1629, allocations: 32 kB / 447.9 MB, free: 7.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.006585/0.1694, allocations: 4.06 MB / 452 MB, free: 3.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.1695, allocations: 56 kB / 452 MB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.462e-05/0.1696, allocations: 120.2 kB / 452.1 MB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00094/0.1705, allocations: 379.2 kB / 452.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.1731, allocations: 1.31 MB / 453.8 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1608/0.3339, allocations: 1.905 MB / 455.7 MB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.3368, allocations: 221.7 kB / 455.9 MB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006341/0.3374, allocations: 294.8 kB / 456.2 MB, free: 104.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001597/0.339, allocations: 0.5762 MB / 456.8 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.3393, allocations: 195.8 kB / 457 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.3415, allocations: 1.323 MB / 458.3 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.3415, allocations: 44.75 kB / 458.4 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3415, allocations: 4.891 kB / 458.4 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.3416, allocations: 8.297 kB / 458.4 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/0.3488, allocations: 4.652 MB / 463 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.3488, allocations: 5.406 kB / 463 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.3495, allocations: 255 kB / 463.3 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008948/0.3503, allocations: 363 kB / 463.6 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.3504, allocations: 33.89 kB / 463.7 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.352, allocations: 1.672 MB / 465.3 MB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3521, allocations: 11.2 kB / 465.3 MB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.3545, allocations: 1.727 MB / 467.1 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.355, allocations: 257.6 kB / 467.3 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.3553, allocations: 33.12 kB / 467.4 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.3559, allocations: 33.27 kB / 467.4 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.3561, allocations: 108.4 kB / 467.5 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.3561, allocations: 44.8 kB / 467.5 MB, free: 102.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009848/0.3571, allocations: 0.9292 MB / 468.5 MB, free: 102.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3571, allocations: 3.875 kB / 468.5 MB, free: 102.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003049/0.3602, allocations: 1.054 MB / 469.5 MB, free: 102.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (152): * Single equations (assignments): 145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003442/0.3605, allocations: 167.9 kB / 469.7 MB, free: 102.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002763/0.3633, allocations: 2.488 MB / 472.2 MB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000132/0.3634, allocations: 95.06 kB / 472.3 MB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006934/0.3641, allocations: 0.628 MB / 472.9 MB, free: 102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.3657, allocations: 0.6116 MB / 473.5 MB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008884/0.3746, allocations: 7.939 MB / 481.5 MB, free: 97.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.3757, allocations: 1.303 MB / 482.8 MB, free: 96.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001219/0.3769, allocations: 444.3 kB / 483.2 MB, free: 96.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/0.3776, allocations: 477.8 kB / 483.7 MB, free: 96.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.144e-06/0.3776, allocations: 0 / 483.7 MB, free: 96.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04203/0.4197, allocations: 29.36 MB / 0.501 GB, free: 68.85 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.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.027283857110888]