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.002468/0.002468, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002944/0.002944, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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 1.572/1.572, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3846/0.3846, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.948e-05, allocations: 8.984 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01627/0.0163, allocations: 11.24 MB / 388.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02675, allocations: 3.986 MB / 392.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.02957, allocations: 67.75 kB / 392.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.03322, allocations: 1.249 MB / 393.8 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.03901, allocations: 1.832 MB / 395.6 MB, free: 448 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.04106, allocations: 0.6079 MB / 396.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008048/0.04911, allocations: 4.7 MB / 400.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004262/0.05338, allocations: 2.263 MB / 403.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003875/0.05725, allocations: 1.863 MB / 405 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.06146, allocations: 2.073 MB / 407.1 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007677/0.06223, allocations: 224 kB / 407.3 MB, free: 4.668 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.06537, allocations: 1.248 MB / 408.6 MB, free: 3.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.06758, allocations: 1.694 MB / 410.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.06945, allocations: 0.9808 MB / 411.2 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.08017, allocations: 6.229 MB / 417.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.08018, allocations: 3.938 kB / 417.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08018, allocations: 0 / 417.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002287/0.08041, allocations: 4 kB / 417.5 MB, free: 10.48 MB / 394.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.01152/0.09193, allocations: 4.981 MB / 422.5 MB, free: 5.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.09198, allocations: 12.62 kB / 422.5 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02357/0.1155, allocations: 6.706 MB / 429.2 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.1215, allocations: 1.837 MB / 431 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.1218, allocations: 180.8 kB / 431.2 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.1232, allocations: 312.5 kB / 431.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.1413, allocations: 6.09 MB / 437.6 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.866e-05/0.1414, allocations: 27.77 kB / 437.6 MB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.1418, allocations: 115.8 kB / 437.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004514/0.1463, allocations: 2.455 MB / 440.2 MB, free: 3.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2206/0.3669, allocations: 4.355 MB / 444.5 MB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04867/0.4155, allocations: 43.08 MB / 487.6 MB, free: 63.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/0.4245, allocations: 2.571 MB / 490.2 MB, free: 62.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.4262, allocations: 0.6614 MB / 490.8 MB, free: 62.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.4273, allocations: 0.5167 MB / 491.4 MB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4273, allocations: 57.02 kB / 491.4 MB, free: 62.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.669e-06/0.4273, allocations: 0 / 491.4 MB, free: 62.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.02859/0.4559, allocations: 8.942 MB / 0.4886 GB, free: 60.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009323/0.4568, allocations: 1.977 MB / 0.4906 GB, free: 58.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.4604, allocations: 3.364 MB / 0.4939 GB, free: 57.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003863/0.4608, allocations: 60.06 kB / 0.4939 GB, free: 57.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.4621, allocations: 3.063 MB / 0.4969 GB, free: 54.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009116/0.463, allocations: 0.9777 MB / 0.4979 GB, free: 54.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/0.4646, allocations: 1.38 MB / 0.4992 GB, free: 53.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.4647, allocations: 480.8 kB / 0.4997 GB, free: 53.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.4664, allocations: 0.8685 MB / 0.5005 GB, free: 52.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/0.4698, allocations: 5.487 MB / 0.5059 GB, free: 45.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/0.4756, allocations: 7.104 MB / 0.5128 GB, free: 36.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.841e-05/0.4756, allocations: 28 kB / 0.5128 GB, free: 36.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07889/0.5545, allocations: 29.04 MB / 0.5412 GB, free: 10.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.5546, allocations: 48 kB / 0.5412 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06333/0.6179, allocations: 20.19 MB / 0.561 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1175/0.7354, allocations: 29.22 MB / 0.5895 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005397/0.7408, allocations: 1.318 MB / 0.5908 GB, free: 7.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.216/0.9568, allocations: 10.35 MB / 0.6009 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/0.9614, allocations: 0.5491 MB / 0.6014 GB, free: 126.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006707/0.9621, allocations: 319.6 kB / 0.6017 GB, free: 126.2 MB / 458.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 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (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.001615/0.9637, allocations: 0.6825 MB / 0.6024 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/0.9643, allocations: 329.1 kB / 0.6027 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006202/0.9705, allocations: 2.763 MB / 0.6054 GB, free: 125.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004679/0.9752, allocations: 1.873 MB / 0.6072 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.9752, allocations: 8.797 kB / 0.6073 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.9752, allocations: 8.188 kB / 0.6073 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.9943, allocations: 8.924 MB / 0.616 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.9944, allocations: 9.594 kB / 0.616 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.9964, allocations: 455.2 kB / 0.6164 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/0.999, allocations: 0.6205 MB / 0.617 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/0.9993, allocations: 48.06 kB / 0.6171 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/1.004, allocations: 4.459 MB / 0.6214 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007241/1.004, allocations: 1.921 MB / 0.6233 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/1.011, allocations: 3.367 MB / 0.6266 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009041/1.012, allocations: 273.1 kB / 0.6269 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/1.013, allocations: 46.88 kB / 0.6269 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.014, allocations: 233.1 kB / 0.6271 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.015, allocations: 156.2 kB / 0.6273 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.015, allocations: 66.84 kB / 0.6273 GB, free: 117.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001916/1.017, allocations: 1.355 MB / 0.6287 GB, free: 116.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 0.6287 GB, free: 116.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004877/1.022, allocations: 1.231 MB / 0.6299 GB, free: 116.6 MB / 458.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.0005329/1.022, allocations: 189.8 kB / 0.63 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009671/1.032, allocations: 4.277 MB / 0.6342 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/1.032, allocations: 6.344 kB / 0.6342 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/1.035, allocations: 1.384 MB / 0.6356 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.037, allocations: 317.6 kB / 0.6359 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/1.05, allocations: 8.003 MB / 0.6437 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/1.053, allocations: 2.3 MB / 0.6459 GB, free: 109.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004139/1.057, allocations: 1.676 MB / 0.6476 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/1.058, allocations: 215.1 kB / 0.6478 GB, free: 109.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.058, allocations: 0 / 0.6478 GB, free: 109.5 MB / 458.7 MB Notification: Performance of Templates: time 0.06406/1.122, allocations: 49.14 MB / 0.6958 GB, free: 65.96 MB / 458.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.337019966100343]