Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.0009805/0.0009805, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.0009594/0.0009594, allocations: 164.9 kB / 24.91 MB, free: 9.258 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.9587/0.9587, allocations: 177 MB / 205.2 MB, free: 5.438 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.3144/0.3144, allocations: 34.86 MB / 296.6 MB, free: 476 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.219e-05, allocations: 3.516 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008824/0.008846, allocations: 11.02 MB / 336.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.01617, allocations: 4.112 MB / 341 MB, free: 7.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007263/0.0169, allocations: 71.75 kB / 341.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.01837, allocations: 1.249 MB / 342.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.02055, allocations: 1.844 MB / 344.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.02136, allocations: 0.6155 MB / 344.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.0245, allocations: 4.715 MB / 349.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.02614, allocations: 2.312 MB / 351.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.0276, allocations: 1.859 MB / 353.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.02928, allocations: 1.964 MB / 355.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.02962, allocations: 224 kB / 355.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.03102, allocations: 1.244 MB / 357.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009647/0.03199, allocations: 1.694 MB / 358.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008002/0.03279, allocations: 0.9808 MB / 359.8 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.03604, allocations: 4.191 MB / 364 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.03605, allocations: 0 / 364 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03605, allocations: 0 / 364 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.459e-05/0.03611, allocations: 0 / 364 MB, free: 0.9023 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.003765/0.03988, allocations: 3.799 MB / 367.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.03991, allocations: 16.03 kB / 367.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/0.04452, allocations: 1.678 MB / 369.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.04624, allocations: 1.519 MB / 371 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/0.04633, allocations: 180.8 kB / 371.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004936/0.04683, allocations: 316.4 kB / 371.5 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.05123, allocations: 4.541 MB / 376 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.05128, allocations: 23.81 kB / 376.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.0515, allocations: 107.8 kB / 376.2 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.0533, allocations: 2.151 MB / 378.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/0.0575, allocations: 2.831 MB / 381.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.07677, allocations: 25.25 MB / 406.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.08064, allocations: 2.282 MB / 408.7 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.08121, allocations: 446.1 kB / 409.1 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.08177, allocations: 0.5089 MB / 409.6 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.08181, allocations: 48.56 kB / 409.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 4.228e-06/0.08181, allocations: 0 / 409.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01137/0.09318, allocations: 5.596 MB / 415.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007319/0.09391, allocations: 1.411 MB / 416.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.09572, allocations: 2.384 MB / 419.1 MB, free: 8.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.09586, allocations: 57.69 kB / 419.1 MB, free: 8.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.09698, allocations: 2.668 MB / 421.8 MB, free: 5.465 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/0.09746, allocations: 0.8719 MB / 422.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/0.09838, allocations: 1.01 MB / 423.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.09845, allocations: 309.1 kB / 424 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.09995, allocations: 0.8856 MB / 424.9 MB, free: 2.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.1026, allocations: 3.742 MB / 428.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/0.1067, allocations: 5.189 MB / 433.8 MB, free: 6.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.1068, allocations: 31.94 kB / 433.8 MB, free: 6.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0211/0.1279, allocations: 5.028 MB / 438.9 MB, free: 1.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.1279, allocations: 56.92 kB / 438.9 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01746/0.1454, allocations: 1.888 MB / 440.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04448/0.1899, allocations: 3.339 MB / 444.1 MB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.1928, allocations: 1.154 MB / 445.3 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009302/0.2021, allocations: 4.22 MB / 449.5 MB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.2047, allocations: 208 kB / 449.7 MB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004129/0.2051, allocations: 272 kB / 450 MB, free: 6.047 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.001507/0.2066, allocations: 0.5357 MB / 450.5 MB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.2069, allocations: 195.8 kB / 450.7 MB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.2093, allocations: 1.872 MB / 452.6 MB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001747/0.2111, allocations: 1.103 MB / 453.7 MB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2111, allocations: 0 / 453.7 MB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2111, allocations: 11.91 kB / 453.7 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1626/0.3737, allocations: 5.359 MB / 459 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.3737, allocations: 6.844 kB / 459.1 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008512/0.3745, allocations: 278.5 kB / 459.3 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.3757, allocations: 0.4971 MB / 459.8 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.3759, allocations: 43.81 kB / 459.9 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.3778, allocations: 3.027 MB / 462.9 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003569/0.3781, allocations: 1.344 MB / 464.2 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.3809, allocations: 2.321 MB / 466.6 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.3812, allocations: 261.8 kB / 466.8 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.3814, allocations: 41.45 kB / 466.9 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.382, allocations: 37.72 kB / 466.9 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.3822, allocations: 148.9 kB / 467 MB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.3823, allocations: 58.14 kB / 467.1 MB, free: 116.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006318/0.3829, allocations: 0.8369 MB / 467.9 MB, free: 116.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3829, allocations: 0 / 467.9 MB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00252/0.3854, allocations: 1.229 MB / 469.2 MB, free: 116.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.0003242/0.3857, allocations: 178.4 kB / 469.3 MB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003235/0.389, allocations: 2.841 MB / 472.2 MB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.801e-05/0.3891, allocations: 60.53 kB / 472.2 MB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.39, allocations: 0.9142 MB / 473.1 MB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.3913, allocations: 0.5681 MB / 473.7 MB, free: 115.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.3984, allocations: 7.608 MB / 481.3 MB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/0.3992, allocations: 1.162 MB / 482.5 MB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4002, allocations: 411.6 kB / 482.9 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.401, allocations: 457.3 kB / 483.3 MB, free: 107.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/0.401, allocations: 0 / 483.3 MB, free: 107.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04802/0.449, allocations: 51.21 MB / 0.522 GB, free: 57.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.216307142749429]