Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.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.00139/0.00139, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001055/0.001055, allocations: 170.2 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.148 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2996/0.2996, allocations: 34.27 MB / 296.1 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.396e-05, allocations: 5.438 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01354/0.01357, allocations: 11.06 MB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01052/0.02409, allocations: 4.111 MB / 340.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.02658, allocations: 67.75 kB / 340.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.02989, allocations: 1.237 MB / 341.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.03569, allocations: 1.813 MB / 343.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.03761, allocations: 0.6 MB / 344.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008048/0.04566, allocations: 4.717 MB / 348.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003727/0.04939, allocations: 2.097 MB / 351 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.0528, allocations: 1.812 MB / 352.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.05619, allocations: 1.968 MB / 354.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.05674, allocations: 231.9 kB / 355 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.05939, allocations: 1.275 MB / 356.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.06124, allocations: 1.69 MB / 358 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.06277, allocations: 0.9808 MB / 359 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.06752, allocations: 4.191 MB / 363.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.06753, allocations: 0 / 363.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06753, allocations: 0 / 363.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.768e-05/0.0676, allocations: 0 / 363.1 MB, free: 1.648 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.004353/0.07195, allocations: 3.797 MB / 366.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.072, allocations: 12.03 kB / 367 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/0.07742, allocations: 1.682 MB / 368.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.07954, allocations: 1.526 MB / 370.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.07965, allocations: 180.8 kB / 370.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/0.08022, allocations: 317.2 kB / 370.6 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007283/0.08751, allocations: 4.531 MB / 375.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-05/0.08756, allocations: 31.75 kB / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.0878, allocations: 111.8 kB / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.08972, allocations: 2.147 MB / 377.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/0.09507, allocations: 2.829 MB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.1215, allocations: 25.25 MB / 405.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/0.1259, allocations: 2.293 MB / 407.8 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.1266, allocations: 442.7 kB / 408.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.1273, allocations: 0.5128 MB / 408.8 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1273, allocations: 48.56 kB / 408.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 5.36e-06/0.1273, allocations: 0 / 408.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01796/0.1453, allocations: 5.604 MB / 414.4 MB, free: 12.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001042/0.1463, allocations: 1.411 MB / 415.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.1501, allocations: 2.388 MB / 418.2 MB, free: 8.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003674/0.1505, allocations: 53.69 kB / 418.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.1517, allocations: 2.668 MB / 421 MB, free: 6.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008489/0.1525, allocations: 0.8718 MB / 421.8 MB, free: 5.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.1535, allocations: 1.006 MB / 422.8 MB, free: 4.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.1536, allocations: 309.1 kB / 423.1 MB, free: 3.992 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.1551, allocations: 0.8817 MB / 424 MB, free: 3.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.1578, allocations: 3.746 MB / 427.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006323/0.1642, allocations: 5.193 MB / 433 MB, free: 7.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-05/0.1642, allocations: 28 kB / 433 MB, free: 7.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02242/0.1867, allocations: 5.033 MB / 438 MB, free: 2.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.1867, allocations: 48 kB / 438.1 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01563/0.2023, allocations: 1.9 MB / 440 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02914/0.2315, allocations: 3.333 MB / 443.3 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003363/0.2348, allocations: 1.22 MB / 444.5 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.2456, allocations: 4.221 MB / 448.7 MB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.2484, allocations: 204 kB / 448.9 MB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/0.2491, allocations: 276 kB / 449.2 MB, free: 6.707 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],spherical.sphereColor[1],spherical.sphereColor[2],spherical.sphereColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.2506, allocations: 0.5357 MB / 449.7 MB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.251, allocations: 199.7 kB / 449.9 MB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.2537, allocations: 1.872 MB / 451.8 MB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001833/0.2555, allocations: 1.107 MB / 452.9 MB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2555, allocations: 4 kB / 452.9 MB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.2555, allocations: 7.969 kB / 452.9 MB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1645/0.42, allocations: 5.344 MB / 458.3 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.42, allocations: 15.5 kB / 458.3 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.421, allocations: 314 kB / 458.6 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4224, allocations: 0.5011 MB / 459.1 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4225, allocations: 46.95 kB / 459.1 MB, free: 121.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.4246, allocations: 3.023 MB / 462.2 MB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004902/0.4251, allocations: 1.344 MB / 463.5 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.4289, allocations: 2.309 MB / 465.8 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.4295, allocations: 268.4 kB / 466.1 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.4297, allocations: 45.45 kB / 466.1 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.4306, allocations: 38.38 kB / 466.2 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.4309, allocations: 152 kB / 466.3 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.4311, allocations: 54.77 kB / 466.4 MB, free: 117.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.4323, allocations: 0.8438 MB / 467.2 MB, free: 117.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4323, allocations: 0 / 467.2 MB, free: 117.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00413/0.4364, allocations: 1.224 MB / 468.4 MB, free: 117.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004908/0.4369, allocations: 179.6 kB / 468.6 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005075/0.442, allocations: 2.838 MB / 471.4 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001325/0.4421, allocations: 61.56 kB / 471.5 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.4436, allocations: 0.915 MB / 472.4 MB, free: 116.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.4458, allocations: 0.5679 MB / 473 MB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4566, allocations: 7.616 MB / 480.6 MB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.4577, allocations: 1.153 MB / 481.8 MB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001476/0.4592, allocations: 410.8 kB / 482.2 MB, free: 109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009833/0.4602, allocations: 462 kB / 482.6 MB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/0.4602, allocations: 0 / 482.6 MB, free: 108.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05429/0.5145, allocations: 51.21 MB / 0.5213 GB, free: 59.03 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.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.215730902738869]